# Category: angular

## Checkbox color to be changed and checked in Angularjs Data table

how to Checkbox color to be changed and checked in Angularjs Data table I am using angular material data table. I have an issue in the check box in data table. Here is my data table <md-table-container> <table md-table md-row-select=”options.rowSelection” multiple=”{{options.multiSelect}}” ng-model=”selectedItemsToCreate” md-progress=”promise” animate-sort-icon=”true”> <thead ng-if=”!options.decapitate” md-head md-order=”query.order”> <tr md-row class=”md-row-height”> <th md-column md-order-by=”BDSparePartNumber”><span>Part #</span></th> <th md-column md-order-by=”BDSPCondition”><span>Part Condition</span></th> <th md-column md-order-by=”BDSPSerialNumber”><span>Part Serial #</span></th> <th md-column md-numeric><span>Line #</span></th> <th md-column md-numeric><span>Part Quantity</span></th> <th md-column md-order-by=”BDID” […]

## Server response type is buffer and return buffer array rather than actual content.

how to Server response type is buffer and return buffer array rather than actual content. I have an angular Js application which is deployed in Node express server.The API service is written in Python.When I am calling the API, the response I am getting is as {type: “Buffer”, data: Array(33)} When I try the same endpoint in Angular 4 and POSTMAN I am getting the correct data.Can anybody help me over here? Is this any […]

## Access windows Authenticated Web API through Angular 2 without login prompt

I have already developed front-end application in Angular2 and back-end in ASP.net web APIs. I had used Windows authentication as enabled because I want to detect requesting user. Both applications are hosted in IIS server(Windows Server 2012). When I load angular app it load login prompt and when give correct user credentials data loading happen correctly. But I want to know a way to load them without login prompt, authenticate automatically. This is the way […]

## RxJS: invoke two async calls, return the first that passes a condition, or a special value of none of them does

Using RxJS, I want to invoke two different asynchronous operations, which may or may not return null. They may also take indefinite time to complete. I want to achieve the following: If operation A returns value 1, then immediately return value 1 If operation B returns value 2, then immediately return value 2 If both operation A and B return null, then return null. I suppose I can achieve the first two simply as follows: […]