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
<?php | |
public function array_only($original, $keeping) | |
{ | |
// remove the following keys from the rendered bill object | |
$arr = []; | |
foreach ($keeping as $key) | |
{ |
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
var app = angular.module('app', []); | |
app.factory('geoLoc', ['$q', '$window', function ($q, $window) { | |
'use strict'; | |
return { | |
currentPosition: function() { | |
var deferred = $q.defer(); |
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
describe('Common: recordDirective', function() { | |
var $scope, $stateParams, $state, $compile, $q, element, makeHtml; | |
// each test in this file MUST call this method | |
// to customize var form and var $scope for itself | |
makeHtml = function(nonClickable) { | |
// $scope = $scope.$new(); |
NewerOlder