158 questions
1
vote
0
answers
205
views
Migrating ngFileSaver from bower to node package breaks
I have an Angular 1.6 project which did build using:
node 10.16.0
bower 1.8.14
gulp 3.9.1
and with the command sequence:
npm install
bower install
gulp
It now breaks at the bower install step with ...
1
vote
1
answer
1k
views
Angularjs - fullcalendar switching between month view and week view not working
I'm using angular js & angular-UI/UI-calendar. I want to load events from the rest API when the view is changed (month, week, etc.) In the next/previous button, on page load, everything works fine....
1
vote
2
answers
44
views
Unable to access scope property set by $http.get in directive
I'm using this app.js file:
var myNinjaApp = angular.module('myNinjaApp', []);
myNinjaApp.directive('randomNinja', [function(){
return {
restrict: 'E',
scope: {
theNinjas: '=',
...
0
votes
1
answer
548
views
Create multiple tables with multiple inputs using AngularJS 1.6
I am working on Angular JS task where i need to take input from a text box and form rows which has two input fields.Consider that rows and columns
Upon entering values in that formed two input fields. ...
1
vote
1
answer
517
views
How to sort Polish characters with the sortBy filter in angularjs?
I have a problem. The 'sortBy' in Angularjs 1 method does not sort alphabetically Polish characters. It should be sorted: Alfred, Ahris, Bert, Chora, Dora. In fact, there are: Alfred, Berta, Dora, ...
0
votes
1
answer
314
views
Monkey patch of Array.prototype.filter breaks AngularJS 1.6 [duplicate]
ngSwitchWhen is throwing error 'Cannot read property 'NaN' of undefined'
I am overwriting existing filter method on Array prototype, this works with angular 1.5.7 version.
Recently I upgraded it to 1....
0
votes
1
answer
939
views
receive serialized Object as query string parameters in angularjs
I'm sending nested object as Query parameters from AngularJs Controller with the following code:
$scope.redirect = function () {
const params = $httpParamSerializer({
initval: {
...
1
vote
1
answer
318
views
AngularJS Linkify cells with links in a table after table has been rendered in the DOM
I am trying to manipulate the html of a table to replace all text in cells that have links with a <a> link that is clickable using AngularJS.
When the DOM is loaded I have the following code:
....
0
votes
1
answer
2k
views
ng-change is fired a second time when selected option is removed from ng-options - AngularJS 1.7
I have a list of sale items and for each sale item there is a dropdown box where you can select from a list of available IDs to assign to the sale item. The selection must be unique for each sale item....
0
votes
3
answers
72
views
Angular 1x: filter data from 2 columns only
I have query about Angular 1x. I want to filter the below records if anything matches with title and content only. I tried giving ng-model to my input and applied the same like ng-repeat= t in t....
1
vote
1
answer
71
views
how can i search name by array data display by button or href link angular 1.6.X
i want to make dynamic code
strong text
// angular.bootstrap(document.getElementById('app'), ['app']);
var app=angular.module("App",[]);
app.controller("AppCtrl",function($scope){
$scope....
0
votes
1
answer
49
views
AngularJs(1.x) routing problem in ngRoute?
This is the link for the hotels
<ul>
<li ng-repeat="hotel in vm.hotels">
<a ng-href="#/hotel/{{ hotel._id }}">{{ hotel.name }}</a>
</li>
</ul>
and the ...
0
votes
0
answers
184
views
Module 'gantt.table' is not available angularjs1.6
i have problem with package 'gantt.table' modules with angularjs1.6, i cant load all modules gantt like 'gantt.overlap',gantt.tooltips' ... i have the same problem.
always i have the same problem ...
0
votes
1
answer
108
views
Routing Demo stops working when updated to AngularJS 1.6
When I updated the code snippet from this answer to use AngularJS 1.6, it stopped working.
The Login and Register links no longer change the view.
The DEMO
var app = angular.module("myApp", ["...
2
votes
3
answers
602
views
how to bind default value to select using ng-model using AngularJS V1.6
<select ng-model="machineSelected"
ng-options="machine._id as machine.name for machine in machineList"
ng-change="onChangeMachine(machineSelected)"
ng-disabled="!...