Skip to main content
added 106 characters in body
Source Link
apark
  • 151
  • 1
  • 1
  • 5

So I have implemented a script that uses angular as well, however when I use {{1+1}} it does nothing, also it shows me a warning that is created inside the Javascript file(we created it too show that it works).

The code for the lightning static resource is:

<aura:component implements="flexipage:availableForAllPageTypes">
<ltng:require
              styles="/resource/bootstrap"
              scripts="/resource/BookingWidget"
    />

<html ng-app="">
    <body >
    {{1+1}}

            
    </body>
</html>

</aura:component>

ng-app="" even being empty it should run {{1+1}}

I left it for five minutes and it gave me a warning

"WARNING: Tried to load angular more than once"

So I have implemented a script that uses angular as well, however when I use {{1+1}} it does nothing, also it shows me a warning that is created inside the Javascript file(we created it too show that it works).

The code for the lightning static resource is:

<aura:component implements="flexipage:availableForAllPageTypes">
<ltng:require
              styles="/resource/bootstrap"
              scripts="/resource/BookingWidget"
    />

<html ng-app="">
    <body >
    {{1+1}}

            
    </body>
</html>

</aura:component>

ng-app="" even being empty it should run {{1+1}}

So I have implemented a script that uses angular as well, however when I use {{1+1}} it does nothing, also it shows me a warning that is created inside the Javascript file(we created it too show that it works).

The code for the lightning static resource is:

<aura:component implements="flexipage:availableForAllPageTypes">
<ltng:require
              styles="/resource/bootstrap"
              scripts="/resource/BookingWidget"
    />

<html ng-app="">
    <body >
    {{1+1}}

            
    </body>
</html>

</aura:component>

ng-app="" even being empty it should run {{1+1}}

I left it for five minutes and it gave me a warning

"WARNING: Tried to load angular more than once"

edited tags
Link
apark
  • 151
  • 1
  • 1
  • 5
added 1 character in body
Source Link
apark
  • 151
  • 1
  • 1
  • 5

So I have implemented a script that uses angular as well, however when I use {{1+1}} it does nothing, also it shows me a warning that is created inside the Javascript file(we created it too show that it works).

The code for the lightning static resource is:

<aura:component implements="flexipage:availableForAllPageTypes">
<ltng:require
              styles="/resource/bootstrap"
              scripts="/resource/BookingWidget"
    />

<html ng-app=""app="">
    <body >
    {{1+1}}

            
    </body>
</html>

</aura:component>

ng-app="" even being empty it should run {{1+1}}

So I have implemented a script that uses angular as well, however when I use {{1+1}} it does nothing, also it shows me a warning that is created inside the Javascript file(we created it too show that it works).

The code for the lightning static resource is:

<aura:component implements="flexipage:availableForAllPageTypes">
<ltng:require
              styles="/resource/bootstrap"
              scripts="/resource/BookingWidget"
    />

<html ng-app=""
    <body >
    {{1+1}}

            
    </body>
</html>

</aura:component>

ng-app="" even being empty it should run {{1+1}}

So I have implemented a script that uses angular as well, however when I use {{1+1}} it does nothing, also it shows me a warning that is created inside the Javascript file(we created it too show that it works).

The code for the lightning static resource is:

<aura:component implements="flexipage:availableForAllPageTypes">
<ltng:require
              styles="/resource/bootstrap"
              scripts="/resource/BookingWidget"
    />

<html ng-app="">
    <body >
    {{1+1}}

            
    </body>
</html>

</aura:component>

ng-app="" even being empty it should run {{1+1}}

Source Link
apark
  • 151
  • 1
  • 1
  • 5
Loading