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
<div ng-switch="input.displayType" ng-class="input.displayType"> | |
<div ng-switch-when="Input" class="text-input custom-input" | |
ng-class="input.options.multiline ? 'multiline' : 'singleline'"> | |
<span class="category">{{input.name}}</span> | |
<span class="info"> | |
<input ng-if="!input.options.multiline && input.dataType === 'NUMBER'" | |
type="{{input.dataType}}" name="{{input.code}}" ng-model="input.value" | |
required="input.required" min="0" ng-disabled="disabled"> | |
<input ng-if="!input.options.multiline && input.dataType === 'TEXT'" |
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(angular, $appName$) { | |
class $controllerName${ | |
constructor($module1$, $module2$, $module3$) { | |
angular.extend(this, { | |
$module1$: $module1$, | |
$module2$: $module2$, | |
$module3$: $module3$ | |
}); | |
$END$ |
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
# Need brew ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" | |
# brew install git bash-completion | |
# if you run into trouble god help you | |
# this should fix your issues sudo chown -R $USER:admin /usr/local | |
MAGENTA=$(tput setaf 9) | |
ORANGE=$(tput setaf 172) | |
GREEN=$(tput setaf 190) | |
PURPLE=$(tput setaf 141) | |
WHITE=$(tput setaf 255) |
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
#platform agnostic | |
platforms/*/assets/www | |
# Android | |
platforms/android/assets/www | |
platforms/android/bin/ | |
platforms/android/gen/ | |
platforms/android/res/xml/config.xml | |
platforms/android/ant-build | |
platforms/android/ant-gen |
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
app.directive('toggleClass', function () { | |
return { | |
restrict: 'A', | |
scope: { | |
target: '@', | |
toggleClass: '@' | |
}, | |
link: function ($scope, $element, $attr) { | |
$scope.$targetElement = angular.isDefined($scope.target)? $element.find($scope.target): $element; |
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, window) => { | |
/** | |
* GeoLocation Utility Service | |
* @param $localStorage | |
* @param $cordovaGeolocation | |
* @param $q | |
* @returns {{getCachedGeoLocation: getCachedGeoLocation, getDistance: getDistance}} | |
* @constructor | |
*/ | |
var GeoService = function($localStorage, $cordovaGeolocation, $q) { |
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
<div class="pull-to-refresh"> | |
<h1 class="title" ng-bind="text[status]"></h1> | |
</div> | |
<div ng-transclude></div> |
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, window) => { | |
/** | |
* GeoLocation Utility Service | |
* @param $localStorage | |
* @param $cordovaGeolocation | |
* @param $q | |
* @returns {{getCachedGeoLocation: getCachedGeoLocation, getDistance: getDistance}} | |
* @constructor | |
*/ | |
var GeoService = function($localStorage, $cordovaGeolocation, $q) { |
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
myApp.service('currentUser', function() { | |
this.user = {}; | |
}) | |
myApp.controller('myController', function(currentUser) { | |
$scope.user = currentUser.user; | |
}) |
OlderNewer