For example, this page:
https://code.angularjs.org/1.4.7/docs/api/ngRoute/provider/$routeProvider
In the route parameter of the when method of $routeProvider, what do the strings that identify the type of each attribute mean?
template – {string=|function()=}
{Array.<Object>}
resolve - {Object.<string, function>=}
What does "function()=" in {string=|function()=} mean?
{Array.<Object>} What does it mean? What does
“function>=” in {Object.<string, function>=} mean?
The template parameter can be a hard-coded string or a dynamic function, such as: