Skip to content

Instantly share code, notes, and snippets.

@bora89
Last active January 11, 2017 07:04
Show Gist options
  • Select an option

  • Save bora89/c64581d72d9673e3ee8a9e8015fc87ec to your computer and use it in GitHub Desktop.

Select an option

Save bora89/c64581d72d9673e3ee8a9e8015fc87ec to your computer and use it in GitHub Desktop.
Angular 1.x Module, service, directive boilerplate
(function () {
'use strict';
angular
.module('xtras')
.factory('modalPopupService', service);
service.$inject = [''];
function service() {
// public API
return {};
// implementation
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment