Angularjs property name misspelled while binding

Angularjs property name misspelled while binding, someone asked me to explain?

In this Article, I will show you what happens if the controller name is misspelled. There are two things are happening when the controller name is misspelled. First things is An error raised. Would you like to see the error use developer tools in your browser. Second thing is the binding expression in the view that are in the scope of the controller will not be evaluated.



   <script type="text/javascript" src=""></script>
    <script type="text/javascript">
        var myModule = angular.module("Module1", []);      
        myModule.controller("mycontroller",function($scope) {
            var mobile = {
                modelname: "HUAWEI G525",
                andriod: "JELLY BEAN",
                manufacture: "JAPAN",
                ram: "2GB",
            $ = mobile;


<body ng-app="Module1">
    <div ng-controller="mycontroller">
            Model Name= {{mobile.modelname}}
            Andriod Version= {{mobile.andriod}}
            Manufacture= {{mobile.manufacture}}
            Ram= {{mobile.ra}}



In this above example, I display the configuration of my mobile. As here I misspelled the property of ram for the object of mobile so it will not display the exact result, instead of that ,will display null value that means the result should be nothing.


The final result will be like this:


Angularjs property name mispelled


Post your comments / questions