Can hard coding a bulk of static JSON directly into an AngularJS Factory instead of storing it in separate JSON files cause any issues for my application's performance?
'use strict';
myApp.factory('appUtilityData', function() {
return {
navlistData:[
{
"listId": "1",
"listName": "Home",
"listValue": "home",
"listHref": "/home",
"listIcon": "images/icons/icon1.png"
},
{
"listId": "2",
"listName": "Pick Movie",
"listValue": "movieList",
"listHref" : "/movieList",
"listIcon": "images/icons/icon2.png"
},
]
}
});