An example of the code is on: http://projects.techwolfmedia.com/AngularJS-2