You need to sign in to do that
Don't have an account?
raji Galla
AngularJs binding expression is not working in visualforce
Hi All,
how to build Angular tags to visualforce tags?
Please find the following code. i didnt get values from script
values are not binding?
Thanks in advance.
Raji
how to build Angular tags to visualforce tags?
Please find the following code. i didnt get values from script
<apex:page docType="html-5.0"> <html> <body> <script src="http://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script> <div ng-app="myApp" ng-controller="myCtrl"> {{ firstName + " " + lastName }} </div> <script> var app = angular.module('myApp', []); app.controller("myCtrl", function($scope) { $scope.firstName = "John"; $scope.lastName = "Doe"; }); </script> </body> </html> </apex:page>I am getting output as: {{ firstName + " " + lastName }}
values are not binding?
Thanks in advance.
Raji
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>
Browser's console log can be very helpful in troubleshooting browser problems.
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.8/angular.min.js"></script>