Skip to content

Instantly share code, notes, and snippets.

@daviddt
Created November 9, 2015 09:10
Show Gist options
  • Save daviddt/763854e2c52abe056911 to your computer and use it in GitHub Desktop.
Save daviddt/763854e2c52abe056911 to your computer and use it in GitHub Desktop.
example.js
import angular from 'angular';
import ExampleController from './example-controller/example-controller.js';
import ExampleDirective from './example-directive/example-directive.js';
import ExampleService from './example-service/example-service.js';
export default angular.module('example', [])
.controller('exampleController', ExampleController)
.service('exampleService', ExampleService)
.directive('exampleDirective', () => new ExampleDirective);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment