3 ms·
but not small enough. i just recently 'convert' from backbone to angular, so i'm bias. but i dont understand why on earth the js needs to be seperated instead o
by wiradikusuma 14y ago
but not small enough. i just recently 'convert' from backbone to angular, so i'm bias. but i dont understand why on earth the js needs to be seperated instead of everything in 1 js file. only then people can say, "is this all? wow!" and i cant help but wonder why the actions need to be in 'form' element. angular can do ng-click just fine.
- nkerkin 14y agoCheck out http://jsfiddle.net/api/post/library/pure/ http://jsfiddle.net/api/post/library/pure/, it uses a single file for the entire angular app. From my experience, spreading services, controllers, etc over multiple files is just for convenience.
- nkerkin 14y agoBah, ignore that. Try out the JSFiddle linked for the "Wire up a Backend" example on http://angularjs.org/ http://angularjs.org/