0
Help me to solve this code. The images are not showing..! (using angularjs)
<!DOCTYPE html> <html> <head></head> <body ng-aap=""> <h3>Angular JS Programming</h3> <hr/> <div ng-init=" x='image1.jpg'"> Select a Image: <select ng-model="x"> <option>image1.jpg</option> <option>image2.jpg</option> <option>image3.jpg</option> <option>image4.jpg</option> </select> <br/> <img src="images/{{x}}" width="300" height="200" border="5" /> </div> <script src="angular.js"> </script> </body> </html>
3 Answers
+ 1
<body ng-app="">
0
while i tried for inspect element on chrome, why this error was not detected..??
@Calvin
0
You need ng-inspector, a chrome extension to debug angular js.