Web Developer Web Developer - 11 months ago 102
AngularJS Question

C# WPF Application webbrowser can't run angularjs

I have made a

application with a browser and set it to go to a website which is using
. When I run the program I get errors such as
"Unable to get property 'prototype' of undefined or null reference"
and it shows the source of this error as
. Another error is within the
file and it just says
"Script error"
. The website works perfectly on actual browsers such as Chrome or even IE11. How can I fix these errors?

Thanks in advance!

Answer Source

Show me your html file where you import angular.min.js and firebase.js. Maby can be fixed with a DOCTYPE:

<!DOCTYPE html>

And a meta tag:

<meta http-equiv="X-UA-Compatible" content="IE=edge" />