Can anyone help me figure out what's going on with this code snippet?
var app = angular.module('myApp', []);
app.constant('_START_REQUEST_', '_START_REQUEST_');
app.constant('_END_REQUEST_', '_END_REQUEST_');
app.config(function($httpProvider, _START_REQUEST_, _END_REQUEST_) {
});
When I try to run it, I get an error message saying "Unknown provider: START_REQUEST from myApp". Any ideas why?
Thanks in advance!