Category "angular"

moment.calendar shows today as the day instead of 5 days ago

I am using moment version 2.24.0 (I did have an older version but updated to see if it fixed this problem, which it didn't), in Angular application. I have the

Angular how to disable authGuard on particular child page

can anyone suggest best way to disable authguard (applied on parent level) on a single child page. ROUTES:Routes = [ { path: '', component:

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

upload camera functionality doesn’t work on MS Teams task module on android

I have an extension in MS Teams, which open a task module - basically an angular application. as seen below: The functionality of the app is to perform upload

How to make two responsive columns inside the mat-card-content using fxLayout?

Here is my HTML code snippet: <mat-card-content> <div fxLayout="row" fxFlex="1 0 0"> <div fxLayout="column">First</div>

Hidden parameter for certain users in angular

I have a path https:xxxyxxxxxx.com/mypolicy in angular ,This link is applicable for certain users,But when i am giving this url for those users.I need to hide m

How to add background color to the test in webpage?

I found some text in webpage using below code document.body.innerText.indexOf('tested') document.body.innerText.includes('tested') after finding the text I wan

Why is Angular breaking my Google Fonts SCSS import?

I've got this line on my global SCSS: @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@200;400;700&family=Roboto&display=swap'); B

Automatic compare check in Angular i18n json files [closed]

I have 2 files en.json and xx.json with translations in Angular application. Common idea is to create translation in both files for multilangu

Implementing bluetooth device connection in an Angular project

Im trying to implement the possibility to find and connect to bluetooth devices in my Angular project (v12.1.0) so i'm trying to install @manekinekko/angular-we

Angular get all console errors

I'm trying to catch all console errors of my Angular aplication, not only the http response error, but also those that are generated in the application. I mean,

Save Custom Data in Thingsboard ; Which is not a Telemetry data

I am using thingsboard. Lets say i have a simple User Form having the following attributes: Username First Name Last Name Email Address Phone Number Now i want

Auxiliary outlet makes the whole page refresh in Angular

I'm using auxiliary outlet in my angular project. In my routing.module.ts I have: Routing.module.ts const routes: Routes = [ { path: '',

Angular double curly braces expressions being executed multiple times on mouse down and up

In our Angular app, given code like the following: <div>{{ aGetProperty }}</div> <div>{{ aMethod() }}</div> Whenever I click anywhere

TypeError: ctx.product is undefined

Help ! I'm getting the following error from my Angular (material) application: TypeError: ctx.product is undefined my service:product.service.ts @Injectable

Angular 10: Import using module alias not resolved / Path Mapping not recognised in VSCode

So I updated a project that was in Angular 8.2 (a project template) to version 10 and followed the instructions from https://update.angular.io/ and everything w

Angular serve library

In latest versions of Angular cli, we can use ng g library lib-name command to create library. As mentioned in the Angular docs : ng serve <project> An

How can I fix scoring for multiple-answer questions in my Angular quiz app?

For the multiple-answer questions, ALL of the correct answers should be selected in order for the score to increase, not just one correct answer. If one correct

ngx-chart does not apply card number style

am using the ngx-charts library to represent information, I need to use a specific chart but the style does not fit the same as the example that I present below

Angular 7 Sorting on Custom DataSource

I've got a custom DataSource that I've created in my Risk component to reach out to an API, retrieve a list of Risks and display them in a table. The table disp