Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 762 Bytes

File metadata and controls

33 lines (24 loc) · 762 Bytes

ionic-sass-coffee-jade-classify-seed


The modern starting point for an Ionic project with Sass, Jade, CoffeScript and ngClassify support

ng-classify documentation

$ npm install -g ionic
$ ionic start appName https://github.com/ekinertac/ionic-sass-coffee-jade-classify-seed
$ cd appName

$ ./install

##Usage:

Controller

class Admin extends Controller
    constructor: ($scope, someService) ->
        $scope.coolMethod = someService.coolMethod()

which is equivalent to

angular.module('app').controller('adminController', ['$scope', 'someService', function ($scope, someService) {
    $scope.coolMethod = someService.coolMethod();
}]);

Nice isn't it ?