I've used it before, very nice, but it did not seem to be maintained much...


On Wednesday, June 4, 2014 6:52:49 AM UTC-4, António Ramos wrote:
>
>
> Its so simple that i cannot believe it does not have more fans
>
> http://zappajs.github.io/zappajs/docs/crashcourse
>
> I just like to know how i can i use it with angular.
>
> My simple code , it works except my angular bindings.
>
> require('zappajs') ->
>  @use 'partials'
>
> @get '/': ->
>   @render index:
>     foo: 'bar'
>     title: 'Inline template'
>     layout: 'layout'
>
> @view index: ->
>   h1 @title
>   div "ng-controller": "myCtrl" ,".btn.btn-primary", "pokok"
>   p @foo
>   textarea(ng-model="data",cols=40,rows=10)
>       
>
> @view layout: ->
>   doctype 5
>   html "ng-app":"myapp",-> 
>     head -> title @title
>     script src: "//
> ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"
>     link href: "//
> netdna.bootstrapcdn.com/bootstrap/3.1.1/css/bootstrap.min.css", rel: 
> "stylesheet"
>     script src: "//
> netdna.bootstrapcdn.com/bootstrap/3.1.1/js/bootstrap.min.js"
>     script src: "//
> cdnjs.cloudflare.com/ajax/libs/angular.js/1.2.16/angular.js"
>     body @body
>
>
>
>
> Regards
> António
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to