Last active
August 29, 2015 14:03
-
-
Save dgtlmonk/1fde21c553e357da36c5 to your computer and use it in GitHub Desktop.
This file contains 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
IIFE = http://toddmotto.com/minimal-angular-module-syntax-approach-using-an-iife/ | |
Controller as = http://toddmotto.com/digging-into-angulars-controller-as-syntax/ | |
Rethinking controller = http://toddmotto.com/rethinking-angular-js-controllers/ | |
Opinionated Style Guide - http://toddmotto.com/opinionated-angular-js-styleguide-for-teams/ | |
https://medium.com/@dickeyxxx/best-practices-for-building-angular-js-apps-266c1a4a6917 | |
Gulp | |
http://lonelyproton.com/2014/02/How-this-site-is-built-with-gulp/ | |
/** | |
* @ngInject | |
*/ | |
function SomeService ($scope) { | |
} | |
angular | |
.module('app') | |
.factory('SomeService', SomeService); | |
// | |
Will produce | |
/** | |
* @ngInject | |
*/ | |
function SomeService ($scope) { | |
} | |
// automated | |
SomeService.$inject = ['$scope']; | |
angular | |
.module('app') | |
.factory('SomeService', SomeService); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment