Skip to content

Instantly share code, notes, and snippets.

@ryanhamley
Created April 17, 2015 15:16
Show Gist options
  • Select an option

  • Save ryanhamley/21e26df337816cedcf72 to your computer and use it in GitHub Desktop.

Select an option

Save ryanhamley/21e26df337816cedcf72 to your computer and use it in GitHub Desktop.

Revisions

  1. ryanhamley created this gist Apr 17, 2015.
    5 changes: 5 additions & 0 deletions templateCompile.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    $http.get('/views/includes/datepicker.html', {
    cache: $templateCache
    }).success(function(template) {
    element.after($compile(template)(scope));
    });