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