Modified AngularJS script link to allow local operation