A constant can be injected everywhere. A constant can not be intercepted by a decorator, that means that the value of a constant should never be changed. We can store any kind of JavaScript data type such as a string, number, Boolean, array, object, function, null, and undefined.
angular.module('app', []);

app.constant('MOVIE_TITLE', 'The Matrix');
Related Tutorial
Follow Us #