Search Posts

Category: systemjs

Controller is not registered exception when using SystemJS with Typescript in angular JS

I am trying to implement a page using typescript in AngularJS, but I am not sure what mistake I am doing in integrating the controller to the angular. Based on my understanding, controller IIFE is not getting executed though I have specified the System import in the HTML file. Please find the following files Sample.ts file import * as angular from “angular”; export class Sample{ constructor(nme: string) { = nme; } public name: string; […]

Moving from systemjs to webpack with bootstrap entry

I’m trying to do some examples from the “Mean Web Development” book, when it goes into Angular the code doesn’t properly load into a browser. One of the things I’m trying to do in order to solve the issue is to move from systemjs to webpack. Now, when I run the code with systemjs – it produced *.js extension file for every file with *.ts extension. My first question – Does webpack suppose to do […]

Angular 2 and systemjs doesn’t load

I’m very new to web programming. Trying to go through examples from the “Mean Web Development” second edition book. It went okey until Angular was introduced. I’am trying to run an example from Chapter 7 of this book and the only thing I see in the browser is “Loading…” I can see it complains about: ” Error: (SystemJS) Unexpected token < SyntaxError: Unexpected token < at eval (<anonymous>) Evaluating http://localhost:3000/app Error loading http://localhost:3000/app at eval […]