Skip to content

Instantly share code, notes, and snippets.

(function()
{
'use strict';
angular
.module('Services')
.service('MyService', MyService);
/* @ngInject */
function MyService()
(function()
{
'use strict';
angular
.module('Directives')
.directive('myDirective', myDirective);
/* @ngInject */
function myDirective()
(function()
{
'use strict';
angular
.module('Controllers')
.controller('MyController', MyController);
/* @ngInject */
function MyController($scope, MyService)