Skip to content

Instantly share code, notes, and snippets.

@kutsaniuk
Created October 20, 2017 12:12
Show Gist options
  • Save kutsaniuk/116653129bf650a29340fc33813ac2a2 to your computer and use it in GitHub Desktop.
Save kutsaniuk/116653129bf650a29340fc33813ac2a2 to your computer and use it in GitHub Desktop.
(function () {
'use strict';
angular
.module('speakers', [])
.config(config);
config.$inject = ['$stateProvider', '$urlRouterProvider'];
function config($stateProvider, $urlRouterProvider) {
$stateProvider
.state('main.speakers', {
url: 'speakers',
title: 'Speakers',
templateUrl: '../views/speakers/speakers.html',
controller: 'SpeakersCtrl as vm'
});
}
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment