ibm-mobilefirsthybrid-mobile-appworklight-servermobilefirst-studio

IBM MobileFirst 7.1 - Use Angular 2 with Hybrid Mobile Application


I am using MobileFirst Platform to build hybrid mobile application, i am doing this using AngularJS v1.4 , now i want to migrate to Angular 2.

I am using MobileFirst platform eclipse plugin's.

While using AngularJS i used to add angular.js file inside lib folder

ProjectName/apps/AppName/common/lib/js/angular.js

i searched for best practice in using Angular 2 within a project and i found this repository:

https://github.com/angular/quickstart

My question: What is the best practice in using Angular 2 with MFP hybrid mobile app?


Solution

  • You can use ionic 3 to incorporate angular 2 as it will handle the build process of angular files and you can also use MFP 8 cordova plugin.