1

after surfing for more than 2 hours and couldn't achieve the goal finally decided to paste the problem here , the problem i am facing that is cross browsing problem , the html document which i am rendering through angular js working fine in chrome and safari but firefox is not showing any thing i am sharing my route code

var postModule = angular.module('postingModules',['postingControllers']);

postModule.config(function($routeProvider)
 {
    $routeProvider

        .when('/', {

            controller      :   'postingContOnLoad',
            templateUrl     :   '/angularpostform.html'
        })
        .when('/demo',{
            controller      :  'postingContOnLoad',
            templateUrl     :  '/views/testingDemo.html'
        })

        .otherwise({redirectTo: '/'});

});

and the div in which the html document is rendering

<div data-ng-view=""></div>

The output of chrome and safari browser.

<div data-ng-view=""><form class="form-horizontal ng-scope ng-pristine ng-valid" name="doBoxForm" id="dobox-form">WHOLE CONTENT</form></div>

Where as for Firefox:

<div data-ng-view=""></div> //Empty div nothing inside
10
  • create a demo in plunker that replicates problem....make sure all your html is valid Commented Dec 10, 2013 at 20:08
  • also inspect template ajax requests in firebug to see status. Are any errors thrown? Commented Dec 10, 2013 at 20:09
  • @chliettfl no error has been thrown by firebug Commented Dec 10, 2013 at 20:17
  • 1
    what about the ajax requests? are they being made? Commented Dec 10, 2013 at 20:18
  • there is no ajax requests involved Commented Dec 11, 2013 at 17:12

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.