Category "angularjs"

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

Bootstrap-ui Modal is coming up blank when set inside angular-gantt

I am having difficulties trying to get my modal to come up. I am not sure if it is because modal is not compatible with angular-gantt or if I have the code wron

Showing 0 to 0 of 0 entries (filtered from NaN total entries) In jQuery Datatable

Hi all I am new to jQuery Datatable. I am working on server-side for datatable. Most of things I have figured out but I am stuck on pagination part, currently I

Why does using .match inside of an ng-if seem to cause digest cycles

Consider the following simple angularjs app (fiddle here: https://jsfiddle.net/jeconner/n3e61o0a/33/): <div ng-controller="MyCtrl"> <div ng-if="showV

Angular reference not resolving

The following code is not resolving the ${hero.id} to the actual id number: this.messageService.add("HeroesComponent: Selected hero id=${hero.id}"); The follow

JavaScript .focus() function not working in a text field

I'm trying to use .focus() on the following form field without success. The tabindex of the div this element is in is 0. <input class="form-control ng-pristi

Uncaught Error: The injectable 'PlatformLocation' needs to be compiled using the JIT compiler, but '@angular/compiler' is not available

My Angular application is served via Node 16.14.2. After trying to upgrade my angularjs application to Angular 13, I'm receiving the following error: bundle.js

blocked by CORS :The 'Access-Control-Allow-Origin' header contains multiple values '*, *', Laravel8

Access to XMLHttpRequest at 'http://localhost:8000/api/objectives' from origin 'http://localhost:4200' has been blocked by CORS policy: The 'Access-Control-Allo

How to access the value of a promise?

I'm looking at this example from Angular's docs for $q but I think this probably applies to promises in general. The example below is copied verbatim from their

How can I fix "npm ERR! code1"

I was trying to check some opensource projects to learn. I did npm install on terminal to dowload packages but i am getting this error and couldn't understand w

Downgrading multiple Angular modules to AngularJS

I've got an existing AngularJS application, which is component based and loads different addons/plugins lazily using ocLazyLoad. I'm trying to write a new addon