Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
0 answers
91 views

Error while using Highcharts in angularjs using requirejs. Custom directive throwing errors

I am trying to include highcharts in my PWA application built with angularjs 1.3.15 I have declared highcharts in my bower.json My app config(contains require config) looks like : require.config({ ...
Siddhartha Chauhan's user avatar
0 votes
2 answers
460 views

AngularJs 1.6 - Parent scope not accessible in directive 'link' function

I have hosted my sample app here I am trying to access MainCtrl variable into directives 'link' function but getting below error. angular.js:14700 ReferenceError: testMessage is not defined at ...
user2243747's user avatar
  • 2,987
0 votes
0 answers
53 views

$scope value in controller is not identified by AngularJS directive

I am trying to use Dropzone module for AngularJs and I have problem applying it to my own code. The module has been defined here but there is no documentation on its usage. Here is what I am doing: ...
Hamid Ghorashi's user avatar
0 votes
1 answer
506 views

Angular directive not working if loaded with RequireJS

I have a directive that works correctly when RequireJS is not used, and I'm trying to migrate it to an application based on RequireJS. The directive wraps an Angular UI modal, and uses transclude to ...
ps0604's user avatar
  • 1,197
0 votes
1 answer
105 views

Angular directive with transcluded elements + RequireJS not working

In this punk I'm attempting to have an Angular directive with transclude: true and RequireJS. The transcluded elements should be included in an Angular UI Modal that is opened when a user clicks on a ...
ps0604's user avatar
  • 1,197
0 votes
1 answer
80 views

Angular delete after requireJS optimizer

we have written a directive in angular, which uses blueimp-fileupload. As long as we do not use the requireJs optimizer the code works fine. But after we run requireJs optimizer, we get the following ...
Peter.K's user avatar
  • 61
0 votes
0 answers
56 views

How to Load Json data inside Routeprovider?

Here i can not load the JSON data. what i am doing wrong in this below code. Can anyone please guide me? app.run(['$route', '$http', '$rootScope', function ($route, $http, $rootScope) { ...
Gokul Kumar's user avatar
0 votes
1 answer
276 views

angularjs requirejs karma directive templateUrl test fail

question I replace templateUrl with template in author-signature.js, then I test success. But I use templateUrl way in author-signature.js, I test fail. I watch files loading and chrome debug, author-...
Plus's user avatar
  • 31
0 votes
0 answers
262 views

how to remove dependency error in angular + ionicframwork?

I am try to make simple login page using require js in ionic framwork .But I am getting this error . Uncaught Error: [$injector:nomod] Module 'app.auth' is not available! You either misspelled the ...
Pallavi Sharma's user avatar
0 votes
1 answer
124 views

why console print in reverse order than load script?

I am trying to use require js and angular js simultaneously .But I am getting reverse console out put as compare to load script.in other words When I run and check my network and console both are ...
user944513's user avatar
  • 12.8k
0 votes
1 answer
209 views

how to bind click event in angular js using requirejs?

could you please tell me how to bind click event using require js + angularjs I try to bind the click event but it is bind the click event Here is my code index.html <!DOCTYPE html> <html&...
user944513's user avatar
  • 12.8k
1 vote
1 answer
1k views

why alert is not display in angularjs

I am trying to use require js in angular js project .I am able to show view but issue is that I am not able to get alert on "Login" button click .Actually I show One alert on button click . Here is ...
user944513's user avatar
  • 12.8k
1 vote
1 answer
1k views

How to load controller in angular js using require js

I am trying to load a controller so that my view will display. Actually I write my controller .Route or config also .But I am not able to load my controller and route file how to load controller using ...
Pallavi Sharma's user avatar
1 vote
1 answer
108 views

Angular Multiple ngIncludes with Transclusion on Page Losing Scope(?)

I am trying to build a modular ngInclude. By this, I mean that the ngIncluded JSP will pull in all the dependencies it needs and recompile itself before rendering. This same file is used multiple ...
Mike DeMille's user avatar
2 votes
1 answer
611 views

Can I use angular-selectize with require.js?

angular-selectize.js needs selectize.js and angular.js to run. When I load those via require, no window.Selectize property gets exposed,which is needed by angular-selectize.js. This is a snippet ...
nuway's user avatar
  • 2,404

15 30 50 per page