Category "angularjs"

Erroneous caching of fields in a productpage by Chrome

I have a kind of paged catalogwebsite with the pages filled with Jsondata by AngularJs. Server side is ASP.Net MVC. Since a couple of months Chrome is caching s

Angular: Dynamically find headers when converting JSON array to HTML table

In Angular, I want to convert a JSON array to an HTML table. I have seen an old answer for AngularJS: <table> <thead> <tr> &

AngularJS: TypeError: Cannot read properties of undefined (reading 'parse') after reset form values

I need to reset an AngularJS form after submitting and receiving a response. But after that I can't use the form, I get an error when I try to enter in any fiel

Lighthouse: increase my website performance

I did the lighthouse test on my website the report shows some issues but I don't know where to start to fix these issues I see one of the issues fix to enabling

Getting text from angular input elements in Protractor

The angular Input controls doesn't let me get values directly by using getText() in protractor. <input ng-switch-when="TextBox" ng-if="::!field.uiControlInf

AngularJs form validation not working with ng-show

I am struggling with ng-show and $invalid logic, my requirement is very simple I need to make a form that will show input fields based on conditions. I need to

Delete an item(Object) from an array using ng-if

I am trying to remove item using ng-if and ng-else-if. "ng-if="navItem.gbn.indexOf('12345') !== -1" is true then array item only show contains('12345') items. b

Springboot + JWT +OAuth2 + AngularJS Stateless session

I am trying various Java Spring based security implementations as follows 1. JWT Authentication User access / Springboot identifies as protected resource and

What are the components in Angular.js?

I was reading about components and directives in angular.js but I couldn't get the exact difference between these two and also I want to know about the advantag

how to use same component in multiple place with some logic in angularjs

Well I have a directive/component/controller i.e <app-form></app-form> I am using this html page into multiple place but I want to to remove some sp

My required field in my form HTML doesn´t work

I have created a in HTML with required fields and then a Submit button with a ng-click=add(). The code is the following:

My required field in my form HTML doesn´t work

I have created a in HTML with required fields and then a Submit button with a ng-click=add(). The code is the following:

$scope not update from AngularJS directive

I implemented custom directive for if select element, in which if there is only one item then it selects that item by default else it works as regular drop down

What does this app.directive snippet do in Angular?

I have the following snippet of code app.directive('widthSetter',function($timeout){ return { restrict: 'A', link: function (scope, element,

Angular:.Invalid configuration object. Webpack has been initialized using a configuration object that does not match the API schema

I just startred programing and in my first project on Angular i tried to use ng serve an then this error come out: initialized using a configuration object that

How to collect the last 5 notifications that were created using angularjs-toaster?

I am currently trying to create a table with the last 5 notifications that were created using angularjs-toaster (https://www.npmjs.com/package/angularjs-toaster

Ionic V1 / AngularJs - $IonicPopup sometimes display template without interpolating

I've an issue and can't figure out how it can happen : Sometimes on real devices, popups aren't interpolating html as in picture : Its happening more often whe

Problem with SOGo theme background isn't getting applied to md-dialog and md-card

I made a theme for SOGo (https://github.com/inverse-inc/sogo/) everything works except md-dialog and md-card Does anyone know why the background color doesn't a

single-spa - how to load an Angular app without using SystemJS

I have an AngularJS version 1.4 application and I want to migrate to Angular 12+ . So I decided to use single-spa to integrate the new Angular App to the Legacy

Put text via script in Froala Editor

I'm using Froala 3 with AngularJS, but I have a problem adding content from outside the editor into it. I have a modal that displays several predefined messages