I have tried to use Angular 2 for SharePoint online hosted app using Visual 
Studio 2015 Update 2, Using node npm install to get the node_modules 
packages.

and npm start to compile TypeScript files and test index.html file and 
worked. but having troubles to do the same for Default.aspx page. the 
result just won't show

Please advice , thanks

*default.aspx*

    <script src="https://code.angularjs.org/tools/system.js";></script>
    <script src="https://code.angularjs.org/tools/typescript.js";></script>
    <script 
src="https://code.angularjs.org/tools/system-polyfills.js";></script>

    <script 
src="https://code.angularjs.org/2.0.0-beta.9/angular2-polyfills.js";></script>
    <script src="https://code.angularjs.org/2.0.0-beta.9/Rx.js";></script>
    <script 
src="https://code.angularjs.org/2.0.0-beta.9/angular2.dev.js";></script> 

 <script>
        System.config({
            packages: {
                "../scripts": {
                    format: 'register',
                    defaultExtension: 'js'
                }
            }
        });
        System.import('../scripts/main')
              .then(null, console.error.bind(console));

       </script>

-- 
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to