Hi I need to know how to initialize multiple application variables in angularjs..
Here what I have done..
<div ng-app="" ng-init="firstName='John'" ng-init="secName='Carter'">
<div>
Name is
<div ng-bind="firstName +' ' + secName"></div>
</div>
</div>
But I can't get the correct output of "John Carter"