All Questions
44 questions
0
votes
3
answers
151
views
ng-repeat Return empty rows
I tried with below code, but it is returning an empty row (more than 30+) of the table.
json
"[{\"COMPANY_ID\":\"1\",\"COMPANY_DESC\":\"11\",\"COMPANY_CURRENCY\":\"1\",\"ACTIVE\":true,\"...
0
votes
2
answers
591
views
Pass Angular $scope object to PHP to Hubspot Form
I'm trying to pass Angular $scope values to a Hubspot form by calling an AJAX function.
I'm making calculations in the controller and then I would like that data to be input to a corresponding ...
0
votes
1
answer
256
views
Angular changing object in scope doesn't change view
Screencast: http://screencast-o-matic.com/watch/cDjX00isoo
All Javascript: http://fontget.com/js/all.js (at the bottom)
Demo of the issue: http://www.fontget.com
So I have this issue that I have ...
0
votes
2
answers
95
views
Load data in directive in AngularJS
I have a directive in Angular which gets updated from an array in the $scope and populates its data through an ng-repeat:
<div ng-repeat="(key, value) in items">
...
<div>{{value....
0
votes
2
answers
462
views
Alternatives to using $scope.$watch in directive to handle undefined variable
I'm developing an application using angularjs and I'm also using directives because some UI is re-used across multiple pages. When I have a directive which is dependent on a value from a promise I ...
-1
votes
3
answers
604
views
Manually call $scope.$apply raise error on ajax call - Error: [$rootScope:inprog]
I tried to use Angular Material md-autocomplete, the suggestion list was retrieved from Service Host via Ajax Call. Because of Delaying response, the $scope variable was not updating the UI Properly, ...
1
vote
1
answer
284
views
bind controller on dynamic HTML
I have a HTML page with different sections, which are loaded with AJAX. I have created a controller for each of the sections.
How is possible to bind the controller on a section which has been ...
0
votes
0
answers
64
views
Angular view not updating from within $apply
I have some code in an Angular directive that looks like the following:
$scope.populateResults = function (list_results) {
$scope.$apply(function() {
console.log("Applying", ...
-1
votes
2
answers
1k
views
Angularjs array not updating after AJAX call
I'm still new to Angularjs and still learning it.
My issue is that when I define an array and loop through it using "ng-repeat" the items in ng-repeat don't get update after a function runs. Here is ...
1
vote
2
answers
66
views
AngularJS not sending scope data to php
I have a problem sending the data of a simple textfield (currentlinkedin) to a php file with angularjs. In the template I have the code
<div id="linkedin" ng-show="showLinkedIn" class="cssSlideUp"&...
0
votes
0
answers
137
views
Show Modal on AngularJS $httpProvider: responseError
We need to hookup a Modal with a generic message on our failed Ajax calls in AngularJS.
i was able to intercept the error on the app.config part, but from there i am unable to import the $modal or ...
0
votes
1
answer
339
views
Passing data to newly created directive in angularjs when ajax call is over
I am trying to create custom directive out of slick grid. This is what I have done so far.
angular.module('app')
.directive('myGrid',function () {
return {
restrict: 'E',
link:...
0
votes
2
answers
94
views
AngularJS JSON scope
I'm trying to make my Angular controller more generic in the way it handles JSON array of objects.
Currently I have the following defined:
$scope.Data = [];
and I pull across the data in my ...
1
vote
4
answers
1k
views
how to access the url inside .success of the $http.get method in angularjs
I have the following controller
var app = angular.module('callapp', []);
app.controller('eController', function($scope, $http, $log) {
$scope.urlString = []; //this is filled with values
...
0
votes
1
answer
242
views
Having an Issue In Using Angular Js with Dot Net Nuke 7
I have created a user defined controller and than add a module in dnn7(Having resource of my user defined controller) and created a page in dnn7 and than access my newly created Module on it.But It ...