directive: lazy-load

lazy-load

Requires: Delay the initialization of directive until required .js loads Restrict To: Attribute

Attributes:
Name Type Description
lazy-load String

script source file location example:
'http://maps.googlecom/maps/api/js'

Dependencies:
Example
Example: 

  <div lazy-load="http://maps.google.com/maps/api/js">
    <map center="Brampton" zoom="10">
      <marker position="Brampton"></marker>
    </map>
  </div>