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('starter.services', []) | |
.factory('Issues', function($http) { | |
var baseUrl = "http://localhost:8080/problems/"; | |
// Might use a resource here that returns a JSON array | |
// Some fake testing data | |
var issues = [{ | |
id: 0, |
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
[ | |
{ | |
"code": "Morocco Standard Time", | |
"description": "(GMT) Casablanca" | |
}, | |
{ | |
"code": "GMT Standard Time", | |
"description": "(GMT) Greenwich Mean Time : Dublin, Edinburgh, Lisbon, London" | |
}, | |
{ |
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
<# | |
Note: Eliminate `-WhatIf` parameter to get action be actually done | |
Note: PS with version prior to 4.0 can't delete non-empty folders | |
#> | |
Get-ChildItem -Path "." -Include "node_modules" -Recurse -File:$false | Remove-Item -Recurse -Force -WhatIf |