Last active
May 3, 2017 21:08
-
-
Save fouad-j/6b81ce890a3f8bc36300f3355f3527d1 to your computer and use it in GitHub Desktop.
Revisions
-
fouad-j renamed this gist
May 3, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
fouad-j renamed this gist
May 3, 2017 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
fouad-j created this gist
May 3, 2017 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,4 @@ angular.module('app').service('toggleService', function() { const TOGGLE_LIST = ['TOGGLE_NAME_1', 'TOGGLE_NAME_2', 'TOGGLE_NAME_3']; this.isEnable = toggleName => TOGGLE_LIST.includes(toggleName); });