I was developing a module using PHP and AngularJS and had to post a form with few fields and a file upload. I did not get any post which to describe the process of adding fileds and logo with AngularJS. I found many blogs for single and multiple file upload methods but not with fields. Continue reading…
The POST method which angular uses send data using JSON format and in PHP Script we will not be able to receive POST data by simply writting $_POST directly.
In Angular js we can use ng-class to add a class and we can pass a filter if we want to conditionally add the class based on the data passed.
We can Collapse or Expand full angular ui tree by adding the buttons with the ng-controller scope