cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
pradeepperi
Level: Powered On

Does PCF Support Angular JS?

Hello,

 

Any samples of PCF controls built using Angular JS? I am checking if PCF supports Angular JS? If so, i am assuming we cannot use office-ui components?

1 REPLY 1
Power Apps Staff HemantG
Power Apps Staff

Re: Does PCF Support Angular JS?

Angular sample - 

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/angular-fli...

 

 

Office fabric  - 

https://docs.microsoft.com/en-us/powerapps/developer/component-framework/sample-controls/react-facep...

 

Seems angular sample needs update which is WIP. To make the angular sample work you will need to import modules explicitly 

import * as ngAnimate from "angular-animate";
import * as ngSanitize from "angular-sanitize";
import * as uiBootstrap from "angular-ui-bootstrap";
and then replace 
angular.module(this._controllerId, ['ngAnimate', 'ngSanitize', 'ui.bootstrap']);
 with 
angular.module(this._controllerId, [require('angular-animate'), require('angular-sanitize'), require('angular-ui-bootstrap')]);

Reach out to Nando ( @namohant ) if you have questions.

hemant 

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (2,644)