angular

Why doesn't Angular innerHTML output the code in the frame and not all the markup elements?

I put this code where the value contains the text of the entire page with frames, videos, photos, text. Only the text with st ... ]['rendered']"></div> Is it something to do with security? How do I make everything display "as it is in the code"?

Events are not listened to in the connection socket.io and socket. io-client, Nodejs, Angular

Hello everyone. The code I wrote is the Server server.js const app = require('express'); const server = require('http').creat ... he other emit, on, different events, kliekn does not see, it feels like on, emit do not do anything at all, maybe who knows?)

Angular + Laravel PHP Routing in.htaccess

Good time of day. Have some trouble. There is a website in Angular and a server in PHP (Laravel). The customer asked to re ... ixLogs')->name('admin.soap.fix'); Route::get('/postman', function () { return view('welcome'); })->name('index');

select with ng-options does not display the selected item

The list model is as follows: tarifs = [{_id:{$oid:"5e03f33472222f1f4a91af45"}, name: "новый" }, ...] HTML is like this ... "5e03f33472222f1f4a91af45"} == {"$oid": "5e03f33472222f1f4a91af45"} < false And track by doesn't work for some reason.

Always in the gallery the last post after the loop in html | Angular 8 | @ngx-gallery/core

There is a list of posts that are successfully loaded from the database when the page loads. Each post has its own array of p ... ll loads the photos from the last post to view in full mode. I get the gallery from the last post. What am I doing wrong?

Unsubscribe inside an rx js subscription

Tell me the consequences of using the unsubscribe from the stream, inside the subscription to the stream. In my company's pro ... => { sub.unsubscribe(); ... }) I can see that it's bad, but I can't explain why it's bad. Help to form a thought.

How do I add a frame for a webcam in the hangar?

In my project, I use ngx-webcam to allow the user to take a photo of themselves. How can I add a container with markers so that the user can understand how the photo will be taken (see the center and edges)? Is it possible to do this with css?

Angular Reactive Forms, I can't output checkboxes that are formed from incoming data

There is a form with filters. I create the form via FormBuilder. There are no problems with static data, but I can't cope wit ... e project is educational, first I made it on pure JS, now I want to finish it on Angular. I would be very grateful for a tip.

How to make such a request http://localhost:4200/printingedition/getprintingedition/?category=1&category=2&category=3

Where category: PrintingTypeEnum; export enum PrintingTypeEnum{ None = 0, Book = 1, Journal = 2, Newspaper ... else{ params = params.append(key.toString(), filter.category[key]); } } } }

Data path "" should NOT have additional properties(stylePreprocessorOptions)

I try to follow this rule https://angular.io/guide/workspace-config#style-preprocessor-options. Unfortunately, I get an error ... 0 Ng-packagr 10.1.2 Rxjs 6.6.3 Typescript 4.0.5

Notifications from the site in Telegram via BotFather

Please tell me how to connect BotFather to my angular? I created a new bot in Telegram, find out my account ID in Telegram, a ... t;/textarea> <button class="bttn" type="submit">Отправить</button> </form>

Angular - Redux

I write this code to connect Redux to Angular: const store = configureStore({ reducer, }); @NgModule({ imports: [NgRedu ... k like Error: Can't resolve all parameters for <Имя_компонента>: (?) Help me solve this problem, thank you in advance!

Angular material table

I create a MatTableDataSource table, take data from the json server, filtering works, sorting does not. I see a problem in th ... <mat-row *matRowDef ="let row;columns:displayedColumns"> </mat-row> </mat-table> </div>

Angular 8. Fixing the export of the name to the site table

Almost finished the project, but there was one problem. The form is written in Angular 8, the backend is written in Laravel 6 ... <td>{{ rating.mark }}</td> </tr> </tbody> </table> </div>

angular http.get

There is a service that stores functions of the form: getData(){ this.http.get('/***/my.json') .subscribe((response) ... ses to all requests in one place, and check the value of this variable for each of them before the function returns return??

Invalid input when copying values to it

For the input in the reactive form, there is a simple validator for checking the phone (in the screenshot). If you enter the ... f you delete one character and then re-add or re-copy the entire number to the input, everything returns to the valid state

Help with. htaccess: yii2 + angular 7

My current one .htaccess for yii2 Options +FollowSymLinks IndexIgnore */* RewriteEngine on ... he controller api "https://домен/api/" I.e. redirect everything except !^api on index.html (and files), keeping yii2 working

Yandex maps are loaded only after navigating the page

I use the Yandex Maps API and Angular 6. When I start the Angular CLI server, the console always knocks out: MapsComponen ... t; { this.map = new ymaps.Map('map', { center: [50.450100, 30.523400], zoom: 6 }); }); } }

npm install-g angular-cli shows error

Before I was presenting a message that git could not be found, dai reinstalled, fixed PATH, but now it presents another error ... 276800 error peerinvalid Peer @angular/[email protected] wants @angular/[email protected] 276801 verbose exit [1, true]

How to generate a PDF report in Angular

Hello, I would like to generate PDF reports using Angular consuming firebase data. Is it possible to report multiple pages from HTML or using TypeScript? Please help me