All Questions
Tagged with angularjs-directive requirejs
26 questions
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({
...
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 ...
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:
...
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 ...
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 ...
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 ...
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)
{
...
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-...
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 ...
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 ...
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&...
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 ...
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 ...
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 ...
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 ...