fix(win8): Make Angular work on Windows 8 JS Apps

##Make Angular JS work on Windows 8 JavaScript apps. 

In order to ensure the right level of security, the Windows platform prevents certain things to be done in JavaScript code, therefore developers have to make some adjustments to their Web code.
The changes in the pull request for AngularJS are in line with Windows 8 recommendations without breaking the Web. 
All the unit test cases for the web have been run. The scenario runners have also been run on Windows Store apps to ensure that these changes work. 

With these changes, developers can use AngularJS for Windows Store apps the exact same way they do for their Web apps.