I have an angularjs app, where I am using ng-app on div, and not the html.

The application works fine in IE>=10 and chrome,FF.

In IE 9, none of the ng- code is executed, breakpoint doesn't enter my 
custom angular scripts, and html shows {{}}.

It seems like angularjs is not getting bootstrapped.

I tried manually bootstrapping using


$(document).ready(function () {
        angular.element(document).ready(function () {
                        angular.bootstrap(document.getElementById("HomeGrid"), 
['ngGridApp']);


Doing this doesn't show the {{}} anymore, but no data is coming.

I am getting data using $http get like this


var User = $("#UserID").text();
        $http({
            method: 'POST',
            url: '/Home/GetData/',
            data: { UserName: $("#UserID").text() }
        }).success(function (data) {
            $scope.GridData = angular.fromJson(data);

        });


Angularjs 1.3.2

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to