Initial commit.
This commit is contained in:
commit
0335f5aa93
1168 changed files with 261999 additions and 0 deletions
app/scripts/directives
16
app/scripts/directives/navbar.js
Normal file
16
app/scripts/directives/navbar.js
Normal file
|
@ -0,0 +1,16 @@
|
|||
'use strict';
|
||||
|
||||
angular.module('ffffng')
|
||||
.directive('fNavbar', function (Navigator) {
|
||||
var ctrl = function ($scope) {
|
||||
$scope.goHome = function () {
|
||||
Navigator.home();
|
||||
};
|
||||
};
|
||||
|
||||
return {
|
||||
'controller': ctrl,
|
||||
'restrict': 'E',
|
||||
'templateUrl': 'views/directives/navbar.html'
|
||||
};
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue