I am trying to merge two object in ionic2 via angular.merge(Obj1,Obj2). But I get error on save. How do I get access to the global angular object.
Here is the code I am using (from newApp\app\home.ts)
syncWithPortfolio(data){
  var ptfoliObject = this.portfolioObject;
  if(data){
      for(var x in data){
          angular.merge(ptfoliObject[x],data[x]);
      }
  }
The error on console: "newApp/app/pages/home/home.ts(181,15): Error TS2304: Cannot find name 'angular'."
Thanks
 
    