This file contains 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
{ | |
"name": "ACHN", | |
"background": "#0a85d9", | |
"black": "#282a2e", | |
"blue": "#1f415c", | |
"brightBlack": "#373b41", | |
"brightBlue": "#8bcaff", | |
"brightCyan": "#4de0cc", | |
"brightGreen": "#bbd627", | |
"brightPurple": "#df9af4", |
This file contains 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
angular.module('my.cordova.plugins', ['ionic']) | |
// for media plugin : http://plugins.cordova.io/#/package/org.apache.cordova.media | |
.factory('MediaSrv', function($q, $ionicPlatform, $window){ | |
var service = { | |
loadMedia: loadMedia, | |
getStatusMessage: getStatusMessage, | |
getErrorMessage: getErrorMessage | |
}; |
This file contains 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
function onHasChanges() { | |
$scope.$on(config.events.hasChangesChanged, | |
function (event, data) { | |
vm.hasChanges = data.hasChanges; | |
}); | |
} |
This file contains 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 Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |