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