Created
September 6, 2015 11:06
-
-
Save qetr1ck-op/3912656b35c16c50bce3 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
let services = angular.module('services',[]); | |
services.service('MyService', function(){ | |
//service code | |
}); | |
let controllers = angular.module('controllers', ['services']); | |
controllers.controller('MyCtrl', function($scope, MyService){ | |
//controller code | |
}); | |
let app = angular.module('app', ['controllers', 'services']); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment