Last active
August 29, 2015 14:16
-
-
Save e-oz/38bed5820e2876bf3a90 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
// @ngInject | |
function exmpNavigation($state) { | |
return { | |
restrict: '', | |
templateUrl: 'components/exmpNavigation/template.html', | |
controllerAs: 'cNav', | |
controller: function () { | |
this.go = function (route) { | |
$state.go(route); | |
}; | |
} | |
}; | |
} | |
export default exmpNavigation; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment