MCPcopy Index your code
hub / github.com/amercier/generator-angular-php / createUnknownError

Function createUnknownError

templates/javascript/controller.js:13–19  ·  view source on GitHub ↗
(status)

Source from the content-addressed store, hash-verified

11 .controller('<%= classedName %>Ctrl', function ($scope, $http) {
12
13 function createUnknownError(status) {
14 return {
15 status: status,
16 statusText: 'Internal Server Error',
17 description: 'No details available'
18 };
19 }
20
21 $scope.awesomeThings = [];
22 $scope.loading = true;

Callers 1

controller.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected