For questions regarding Angular specific to version 15. Please include all relevant tags on your question; e.g., [Angular], [TypeScript], etc.
Questions tagged [angular15]
342 questions
1
vote
2 answers
Making a button to go back page
I'm making an agular app which load data from an API, and when I go to another route and go back to table route the data is not there.
Is there some way to change route and not losing data?
1
vote
1 answer
Angular 15 Standalone AppComponent and AngularFireAuth
I am trying to set up an Angular webapp where the AppComponent is standalone itself using Firebase Authentication (and database). Therefore no NgModules.
I added in the main.ts
bootstrapApplication(AppComponent, {
providers: [
…

Vale
- 35
- 5
1
vote
1 answer
How to set focus in a bootstrap 5 input in angular 15?
First of all, I know this has been asked A LOT with differente technologies, I've tried everything, for hours, and I still haven't been able to manage to make it work.
I have an angular 15 project, mixing Material and bootstrap 5 (no ng-bootstrap),…

Hikaros
- 101
- 1
- 12
1
vote
1 answer
downloading XML in angular
I'm trying to make a method which download the return the API to XML file.
I did this method to make the request in the API:
public getXML(ano:any,mes:any,glosadas:any):Observable{
const token = this.token.retornaToken();
const headers = new…

Hugo vilar
- 101
- 6
1
vote
1 answer
How to get statusCode in angular
How can I make a method that return the status Code of the request?
I'm using angular 15.
My get method in service:
public getData( ano: any, mes: any, glosadas: any, pagina:any): Observable {
const token = this.token.retornaToken();
const…

Hugo vilar
- 101
- 6
1
vote
1 answer
Grid from Bootstrap not working in angular15
I´m trying to make a simple page using bootstrap grid, but for some reason it's not working.
app-component.html:
test
1
vote
1 answer
Angular 14 to 15 update results in constructor parameter compatibility error in library
I have authored a library for extracting environment variables that are set from server-side rendering.
This library provides a base class to extend. getEnvironmentValues() has been omitted for brevity:
@Directive()
export class…

Brandon Taylor
- 33,823
- 15
- 104
- 144
0
votes
0 answers
update Angular 16 | Error: Module parse failed: Unexpected character '@' (1:0)
I recently updated my Angular application to version 15. However, when I run the ng serve command, I encounter the following error:
./src/assets/css/sass/themes/vien.dark.bluenavy.scss?ngGlobalStyle:1:0 -Error: Module parse failed: Unexpected…

seifou_eddine
- 89
- 4
0
votes
0 answers
Modification of primitive values from @Input() object in child component Angular
I want to modify the @Input() object values in child component after every change in parent component. Please find the sample example
In below example, I increment the counter from parent component and passing complete object to child component.…

user3340927
- 25
- 1
- 5
0
votes
0 answers
Angular 15 and using JS file into .ts file
I have upgraded angular 6 to angular 15 lately, in that I have one js file like the below:
var someVar = function(){
window = this;
return {
test1: function() {
...
},
test2: function(callback,…

Dev Developer
- 115
- 2
- 13
0
votes
0 answers
ng-particle options signature not miss matched Error
i am upgrading my angular 11.0.2 ngx-admin dashboard project to Angular 15.2.9
during package update i got following error
Error: node_modules/ng-particles/lib/ng-particles.component.d.ts:18:89 - error TS2344: Type '{ options: { alias: "options";…

AG Mohamed
- 71
- 1
- 9
0
votes
0 answers
Upgrade NGX-Admin 7.00 Angular 11 to Angular 15.2.9
I have face some modules not found issues after migrate Angular 11.0.9 ngx-admin dashboard to Angular 15.2.9
earlier packages are this
"@angular/animations": "^11.0.9",
"@angular/cdk": "11.0.4",
"@angular/common": "^11.0.9",
…

AG Mohamed
- 71
- 1
- 9
0
votes
0 answers
Angular 15 HMR not working, Throwing Circular Dependency error
Error Unhandled Promise rejection: NG0200: Circular dependency in DI detected for ApplicationRef.
hmr.ts
import { NgModuleRef, ApplicationRef } from '@angular/core';
import { createNewHosts } from '@angularclass/hmr';
export const hmrBootstrap =…

Rohit Parte
- 3,365
- 26
- 26
0
votes
1 answer
Angular Update 14 to 15 - Styles broken
we have an Angular 14 App that needs to be updated to 16, but somehow the stylesheets get messed up. It seems there are still the same scss files, but several attributes aren't present. In the Angular 14 Version it looks like this:
And after the…

Maxim
- 227
- 2
- 14
0
votes
1 answer
ngx-mat-datetime-picker not displaying time after migrating from angular12 to angular15 version
We have migrated our angular11 project to angular15 version, and we have upgraded angular material version to 15 version. In angular11 version date picker was working fine,but after upgrading it is not displaying time

Sneha
- 81
- 1
- 5