Remove example files

This commit is contained in:
Tim Buckley 2015-09-11 17:31:45 -06:00
parent 2516fd8b46
commit e919380739
6 changed files with 0 additions and 67 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 24 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 19 KiB

View File

@ -1,18 +0,0 @@
'use strict';
var controllersModule = require('./_index');
/**
* @ngInject
*/
function ExampleCtrl() {
// ViewModel
var vm = this;
vm.title = 'AngularJS, Gulp, and Browserify!';
vm.number = 1234;
}
controllersModule.controller('ExampleCtrl', ExampleCtrl);

View File

@ -1,21 +0,0 @@
'use strict';
var directivesModule = require('./_index.js');
/**
* @ngInject
*/
function exampleDirective() {
return {
restrict: 'EA',
link: function(scope, element) {
element.on('click', function() {
console.log('element clicked');
});
}
};
}
directivesModule.directive('exampleDirective', exampleDirective);

View File

@ -1,28 +0,0 @@
'use strict';
var servicesModule = require('./_index.js');
/**
* @ngInject
*/
function ExampleService($q, $http) {
var service = {};
service.get = function() {
var deferred = $q.defer();
$http.get('apiPath').success(function(data) {
deferred.resolve(data);
}).error(function(err, status) {
deferred.reject(err, status);
});
return deferred.promise;
};
return service;
}
servicesModule.service('ExampleService', ExampleService);