>
> Write less JavaScript.  Write less CoffeeScript.  Write less Angular.


   - ng-classify - https://github.com/CaryLandholt/ng-classify
   - gulp - https://github.com/CaryLandholt/gulp-ng-classify
   - grunt - https://github.com/CaryLandholt/grunt-ng-classify
   - atom - https://github.com/CaryLandholt/atom-ng-classify
   
Watch the screencast <https://www.youtube.com/watch?v=28gUTu9vnB4>!

Example:

class Home extends Controller
    constructor: (userService) ->
        @save = (username) ->
            userService.addUser username

equivalent to:

angular.module('app').controller('homeController', ['userService', function 
Home (userService) {
    this.save = function (username) {
        return userService.addUser(username);
    };}]);

-- 
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