Attempted to assign to readonly property. How can fix this?


#1

“Attempted to assign to readonly property.” How can fix this ?


#2

This error is caused by $rootScope