AnsweredAssumed Answered

PI Vision: usage of ng-controller in html tag generates error

Question asked by giulio.marra on May 5, 2020
Latest reply on May 7, 2020 by JTWhite

Hello everybody,

 

I am getting started with PI Vision extensibility and I was trying to create a symbol having the basic feature to collapse itself by pushing a button. I started from this :

 

Example

 

My problem occurs as soon as I add ng-controller in any tag of my HTML template and i mean before implementing any other javascript code. In Firefox console I get this error:

 

Error: "[$controller:ctrlreg] http://errors.angularjs.org/1.7.7/$controller/ctrlreg?p0=CollapseDemoCtrl"

<div pv-sym-template="" class="symbol-template-parent">

 

Any help would be appreciated

 

Thanks in advance

 

Giulio

Outcomes