Hello
I am trying to implement Angular js in yii framework, suggest me how i will add js file which is inside view folder. my requirement is to keep angular controller with each module’s view folder separately.
Example:
js file location "view/product/abc.js"
html file location "view/product/xyz.php"
In above example i want to include js(abc.js) file in html(xyz.php) file.
when i am trying to add js file using “Yii::app()->baseUrl.’/protected/views/product/abc.js” syntax, it give me error that " You don’t have permission to access the requested object. It is either read-protected or not readable by the server."
Thanks