Click here to Skip to main content
15,892,298 members
Everything / AngularJs

AngularJs

AngularJs

Great Reads

by Shenwei Liu
A complete sample application using AngularJS, trNgGrid, ngTable, and ASP.NET Web API to access and display data with server-side data filtering, sorting, and paging.
by Sacha Barber
Angular.Js / Azure / ASP MVC / SignalR / Bootstrap demo app
by Sacha Barber
Angular.Js / Azure / ASP MVC / SignalR / Bootstrap demo app
by Bert O Neill
Query Hadoop using Microsoft oriented technologies (C#, SSIS, SQL Server, Excel etc.)

Latest Articles

by Pawan Kumar from CodewithPawan.com
Explore the seamless integration of @ngrx/translate with an Angular standalone API in this comprehensive guide, ensuring a smooth translation workflow for your applications.
by Shivprasad koirala
This article discusses the top 50 AngularJS interview question with answers.
by Zijian
How to generate strongly typed client API in TypeScript for ASP.NET Core
by Han Bo Sun
In this tutorial, I will discuss how to add file upload functionality to an Angular web application.

All Articles

Sort by Updated

AngularJs 

8 Apr 2020 by #realJSOP
You must not have tried very hard. I googled "kendo pie chart click event", and got back several thousand results.
1 Dec 2014 by /\jmot
Demo with Source Code..https://blueimp.github.io/jQuery-File-Upload/angularjs.html[^]http://blog.brunoscopelliti.com/a-directive-to-manage-file-upload-in-an-angularjs-application[^]https://www.npmjs.org/package/angular-file-upload[^]
10 Feb 2015 by /\jmot
see the links...http://stackoverflow.com/questions/13963022/angularjs-how-to-implement-a-simple-file-upload-with-multipart-form[^]http://jsfiddle.net/JeJenny/ZG9re/[^]
29 Jul 2014 by 1Future
HI All,I am not so sure if I can ask an angular based question on this website, if I can't, then please I do apologise.I have created to textboxes on my HTML form that take the users inputs. With a click of a button I would the text in these textboxes to write to console or in an alert...
29 Jul 2014 by 1Future
Hi All ,I want to save data from a users input into a table using angular, lets say I have got a table in named Persons; how would I write a function that would save the data onto a database.So i have got this:Angular JS File code:app.controller("MainController", function($scope)...
1 Aug 2014 by 1Future
Hi All,I am a beginner in Angular, and I am just learning it but unfortunately I've a rock!... Basically I have created a local database in visual studio. I also have a button and an input textbox on a web page all created in HTMOL like so: ...
5 Aug 2014 by 1Future
HI All,In my Angular project, I am trying to fill in a grid with data from database. For some reason the grid comes back empty and without any data. I don't know what I am doing wrong. I would highly appreciate if anyone would help.PS: I was following this tutorial and after days and...
10 Aug 2014 by 1Future
Hi All,Basically I am learning angular and C#.Net.. Which I am beginning to understand a little bit now.I have crated a database in which I am adding records from the users input like so: [HttpPost] public HttpResponseMessage PostDs72(Persons p) { ...
13 Nov 2014 by 1Future
Hi All,I have this error for about 2-3 weeks now .. and it doing my heading ..basically i have just taken over a project from another developer and i keep getting this error, the project in written in angular js c# and breeze and javascript. Basically does anyone know what this error...
9 Jun 2016 by 1Future
Hi All,In my project, i need to select multiple options from a drop down. My code looks something like this://controller$scope.data = [{id: 1, Colour: Red}, {id: 2, Colour: Blue}, {id: 3, Colour:Green}]$scope.selectedCountry = [];//view
12 Mar 2016 by 23741
Do you have Fiddler installed? If so - you may see a better error explanation in the response.
8 Oct 2014 by 2irfanshaikh
I think below code will help you:C# code is for Web API [HttpGET] public HttpResponseMessage Get([FromUri]string name) { PeopleContext db = new PeopleContext(); Person person = db.Persons.FirstOrDefault(x => x.Name == name); //Get the...
8 Oct 2014 by 2irfanshaikh
I think your routing URL is incorrect.Please have a look at below linkhttp://www.asp.net/web-api/overview/getting-started-with-aspnet-web-api/tutorial-your-first-web-api[^]
8 Oct 2014 by 2irfanshaikh
If you want it in Client side then in Angular JS, you can use $rootScope or $cookies to store values throughout the application. This will never store any values on server side.This is not a session. but help you to store values at browser
17 Jul 2022 by 758_Dharini Iyer
Hello..I am somone who's rather new at AngularJS..can i please get some help with creating a reactive form which when submitted must be viewed as the same form on another component in disabled view.Also how can i retrieve the form data submitted...
6 Jul 2015 by 9000605667
this solution will use full when my front end is in MVC. But my Front end is Angular JS. So it will not resolve the issue. But i fix this issue by changing the access specifiers of Trip in Layover class from public to private.Thanks for your solution..
13 Nov 2014 by @Kathukkutti
I'm trying to bind date filed using angularjs with the below json. but its not showing the date and its showing the date format.My Json:{"PaidOn":"2014-02-15T00:00:00+05:30"}Html Help requried on this.
12 Dec 2016 by _Asif_
I have been trying to figure out why NavBar drop-down getting overlapped inside ui-layout. This seems very basic and am definitely missing some very basic steps. (By the way I am new to Angular)Check the plunker for issue detailsPlunker[^]What I have tried:I have looked all over...
12 Dec 2016 by _Asif_
This will get fixed by adding style="overflow:visible"Change thisTo
18 May 2015 by a.anvesh
Hi All,Am new to Angular JS, I am developing small application with Angular JS Framework In that small requirement I have i.e. am working with ng-Table In ng-Table, Whenever page loading the first row should be selectable Note: If am selecting any row in remaining rows it should...
27 Feb 2018 by a__pal
I am new to AngularJs. I am trying to use Service.js to call Web Api. It is working if I directly call from controller. But when I try to segregate the code by using Service.js I am getting lost. Any help will be appreciated. getSubs function call is working in APIService. But not able to run...
12 Feb 2021 by aakar
I want to restrict the below mentioned words in the input text field. Delete Drop where select in my html page built using angularjs. What I have tried: I am comfortable with Javascript but a newbie to angular therefore any help would be...
14 Sep 2016 by abc123aaaa
want to four functions one after another sequentiall.What I have tried:function serial(tasks) { var prevPromise; angular.forEach(tasks, function (task) { //First task if (!prevPromise) { ...
6 Mar 2022 by Abdo AJ
Hi There ! you already done the half of it you can Store data in JWT such as device unique identifier or any other data that helps you identify the user and get it at every request for the clint side there a payload section at jwt allow you to...
18 Mar 2015 by abdul subhan mohammed
Hi guys,I have asp.net website,In which i'm using anuglarJS.Scenarioi have one Label for 'Price', n here i used ng-model to fetch its value, but unfortunately i'm not getting its value, may be bcoz of it's a label.n i have text box for 'qty' n here i also used ng-model, its...
5 Apr 2015 by abdul subhan mohammed
Hi guys,i have MVC application, in which i'm using AngularJs.i'm storing employees from model into the angularjs service/factory.MyCode: mainApp.factory('employeeService', function () { return employees: @Html.Raw(Model); }); ...
5 Mar 2014 by Abhinav S
Use ngHide[^] and ngShow[^].Show the green tick only when the user has entered data that is valid.
16 Apr 2014 by Abhinav S
Use the ViewBag collection.TryWhat is ViewData, ViewBag and TempData? – MVC options for passing data between current and subsequent request[^]ViewData vs ViewBag vs TempData vs Session[^]
7 Jul 2014 by Abhinav S
Angular offers tons of features. First thing would be to understand what you need to really use in angular.Regarding starting with Angular, these links should help you -Getting Started[^]How to get started [^]
3 Nov 2014 by Abhinav S
You can consider using broadcast - http://blog.ericterpstra.com/angular-cats-part-3-communicating-with-broadcast/[^].
29 Dec 2014 by Abhinav S
There is a nice example Confirm Password Validation in AngularJS[^]. This example uses a directive to do validation.
1 Jan 2015 by Abhinav S
This format is a valid UTC format.You can convert it into any format and use accordingly.Date.Parse can be used for this task - https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/parse[^].
12 Jan 2015 by Abhinav S
Follow the guide - https://docs.angularjs.org/guide/directive[^].
28 Mar 2015 by Abhinav S
Yes. If you use JQuery, angular will use your script path of JQuery.If not, it will use its own version - https://docs.angularjs.org/misc/faq[^].
13 Apr 2015 by Abhinav S
Here is a link that does just this - http://christesene.com/angular-js-directive-to-allow-a-select-all-checkbox-also-provide-all-checked-and-none-checked-if-needed/[^].Another one - Check / Uncheck sub checkboxes with one main checkbox using AngularJS[^].
18 Apr 2015 by Abhinav S
If you are using JQuery, you can do a loop$.each(json, function(i, v) { if (v.empid == mySearchString) { //Do stuff } });
24 Jun 2015 by Abhinav S
Try these links -Populate Cascading Dropdown Using Web API and AngularJS[^]Fiddler example[^]Cascading DropDownList with AngularJS and ASP.NET MVC[^]
2 Aug 2015 by Abhinav S
For 1) both angular and MVC controllers are different concepts. Angular controllers operate on the client side. MVC controllers operate on the server side.2) Angular routing loads views without even hitting the server
12 Nov 2015 by Abhinav S
This link[^] will tell you what linkedin uses.
12 Nov 2015 by Abhinav S
These links will help you -Client Side Username Availability Checking in MVC [^]Check Username Availability Instantly In MVC[^]
18 Nov 2015 by Abhinav S
Html 5 supports application cache. You could store this data in the cache[^].Alternately, you could store data in cookies.However, both these options come with security risks that need to be taken care of during implementation.
16 Apr 2015 by Abhishek Maitrey
Learning AngularJs : Episode 1 of 15
9 May 2015 by Abhishek Maitrey
Part 3 of learning AngularJS
3 Sep 2017 by Abhishek Maitrey
Hope the below link could help you! Angular File Upload[^]
23 Jul 2017 by Abhishek Simon
I have a requirement to hide or unhide some nodes and edges depending on some data. I can achieve it by traversing through visjs's data but that will trigger stabilization everytime one hides or unhides (this overwrite existing data). I found this example which adds, updates and removes a...
23 Dec 2015 by Abhishek_Narain
In B2C scenarios, focus changes a bit. End users expect the simplest and the best of experiences from your application. Hence you would start focusing on UX, Performance, Simplicity, Stickiness, etc.
13 Jun 2015 by Abid Rashid
Using AngularJS with .NET MVC application
12 Jan 2015 by Addicted...[bLUe]
Through JQuery you can achieve this.First Store the selected value in a variable on change event of DropDownvar selectedValue = $("#idofDropDown").val()then remove that value from other drop down$("#idOfanotherDDL").remove(selectedValue)May be this will help you.
25 Dec 2015 by adityaswami89
AngularJS: Services: Tutorial 6
25 Dec 2015 by adityaswami89
AngularJS: Models: Tutorial 5
25 Dec 2015 by adityaswami89
AngularJS: Controllers: Tutorial 4
25 Dec 2015 by adityaswami89
AngularJS: Controllers: Tutorial 3
25 Dec 2015 by adityaswami89
AngularJS: Controllers: Tutorial 2
25 Dec 2015 by adityaswami89
AngularJS: Tutorial 1
17 Mar 2014 by aetheon
#javascript Require.js vs CommonJS / AMD modules and #angularjs
6 Oct 2014 by Afazal MD 3104209
AngularJS integration with Web API explained with a product list and added new product with get and post method.
16 Feb 2017 by Afreen F
This article explains basic concepts of AngularJS like Modules, Controllers, Expressions, Directives, Scope and Scope Inheritance.
20 Oct 2014 by Afzaal Ahmad Zeeshan
A single page application means that there won't be any need for POSTBACK and page reloading for new data. Yes, Ajax will do it and will download the data for your pages. There are many already developed plugins for these features, Knockout.js and Angular.js is a part of this. Since you're...
26 Feb 2015 by Afzaal Ahmad Zeeshan
A qoutation from Note.js website[^]: Quote:Node.js® is a platform built on Chrome's JavaScript runtime for easily building fast, scalable network applications. Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient, perfect for data-intensive real-time...
29 Jul 2015 by Afzaal Ahmad Zeeshan
AngularJS is just a JavaScript library for your client-side programming in a web application. Razor syntax on the other hand is a framework for server-side programming. They work together, on both sides to provide a robust architecture for your application. You can write the server-side...
18 Aug 2015 by Afzaal Ahmad Zeeshan
Please ask the question under that article[^]. There is a forum provided to you, for such comments, questions and other suggestions right under the article which keeps the questions on-topic for that article itself. Asking it here would not help you, in any way. However asking it on the same...
10 Sep 2015 by Afzaal Ahmad Zeeshan
For this sake, W3.Org introduced you with offline applications, which are not all applications (IMO) but are just pages that allow you to stay active and keep staring at the "No internet connection, try again once connected". In old applications, once you would load the resource the browser...
3 Jun 2016 by Afzaal Ahmad Zeeshan
As already Sergey has mentioned that it is not a good approach to communicate with database through AngularJS, 1. AngularJS is client-side. So you would have to bring the database to be offline too, or at least a few tables that are required. 2. Although JavaScript can be used to perform...
7 Dec 2016 by Afzaal Ahmad Zeeshan
Push notifications are specific to your web development framework. Because it is the server maintaining an open port for pushing the notification to client. On simple web interface, ASP.NET SignalR is enough and you can use JavaScript to handle new messages. What you need is already solved...
25 Feb 2017 by Afzaal Ahmad Zeeshan
And by secure what do you actually mean? Do you mean, that unauthorized access should be prevented? In that case, you need an authentication system. ASP.NET Web API already has that feature, it is called Identity.ASP.NET Identity 2.1 with ASP.NET Web API 2.2 (Accounts Management) - Part 1 -...
30 Mar 2017 by Afzaal Ahmad Zeeshan
You may use this, RNGCryptoServiceProvider Class (System.Security.Cryptography)[^] and it provides a secure random — not a seeded random number. In most secure cases this is the random number generator that should be used instead of the plain old Random class of the .NET framework. You can read...
7 Jun 2017 by Afzaal Ahmad Zeeshan
For that you would need to actually download the contents of that URL and then parse them to a runtime object, either by XML serialization or from any other procedure. Then you would be reading elements such as, or etc, only then you will be to do that. However, there...
21 Aug 2017 by Afzaal Ahmad Zeeshan
Let me answer your question in parts, because you are confused on various aspects here. Quote: would it be beneficial to write the front en in angular or in asp.net mvc? ASP.NET MVC is not a front-end framework, it is a complete web development framework, where the "V" part is for View. Views...
25 Aug 2017 by Afzaal Ahmad Zeeshan
You are mixing the two worlds here, and that is never going to end up well. Without any further complications, I would recommend that you bring these elements to the client-side and consider using JavaScript APIs such as sessionStorage to maintain this session. Now, since the session values are...
24 Oct 2017 by Afzaal Ahmad Zeeshan
I would consider this a spam, because your title works quite well.
24 Sep 2019 by Afzaal Ahmad Zeeshan
Quote: i am trying this code but it gives all column in xls. can someone suggest me a solution to export only selected columns.. That is because you are passing down the entire HTML tree to be saved, new Blob([document.getElementById('exportable').innerHTML], { A solution for this would be that...
4 Mar 2016 by afzalkarani
I have created ng-grid to bind data to grid. Everything works fine but column headers are not visible.i have tried all possible ways but i failed. I am new to angularjs.Please helpWhat I have tried:i tried refreshing all angularjs libraries
4 Mar 2016 by afzalkarani
Hi,I need to bind data from angularjs controller once my dialog box is loaded/opened. ThanksWhat I have tried:I am new to angularjs so not sure what needs to be done
27 Jan 2020 by Agarawal.ankur
How to get a list of all suspended/terminated workflows using JavaScript - SharePoint online
6 Sep 2016 by Ahmed Abd EL-Latif
i begin to use Jasmine in unit testing angularjs and see a lot example but not work i have usersservice and i need to make unit test for it Please i need work demo(function () {'use strict';angular .module('app') .factory('UserService', UserService);UserService.$inject =...
16 Nov 2016 by Ahmed Bouchefra
In this post, we are going to learn how to use $ionicLoading service with Ionic 1 to give some visual feedback to your app users when some background task is taking place.
29 Nov 2016 by Ahmed Bouchefra
This tutorial shows you how to build a transliteration system (in my case for Arabic language) or virtual keyboard using Angular.js,HTML and CSS
3 Dec 2016 by Ahmed Bouchefra
Throughout this tutorial, we are going to learn how to use Ionic 1 and ngCordova by building a flashlight app for Android and how to use angular-translate to add mutli language support to our app.
8 Apr 2018 by Ahmed Bouchefra
Single page apps with Flask and Angular 4|5 tutorial series
28 Apr 2020 by Ahmed Bouchefra
How to upgrade project and dependencies to latest Angular 10 version
28 Jul 2020 by Ahmed Bouchefra
In this post, we’ll see by examples how to use the ngFor directive to iterate over arrays of data and even objects in Angular 10 templates.
29 Nov 2014 by Ahmed Charfeddine
Websocket, SSL, Json, MySQL are all combined together with Push Framework to produce a C++ server that interacts with an Angularjs web front-end. The application shows the ease of implementing CRUD.
24 Nov 2019 by ahmed_sa
How to show loader component when when form load before data display and hide loader after data display ? I work on angular 7 app I need when page load show loader component before data display and after data display hide loader component loader component work perfect and component...
23 Dec 2019 by ahmed_sa
Hi i make local web app with angular 7 I need when write on URL localhost:4200/overview?partid=10 routing to component overview my Question how to make routing to be as above so can you please help me What I have tried: app-routing.module.ts import { QualificationsComponent } from...
5 Jan 2020 by ahmed_sa
problem How to get id from list when text input match or equal items exist on list ? I work on angular 7 I have input text on nvabar.Component.html write on it part name as following :
27 Dec 2019 by ahmed_sa
problem I need to assign value of latitude and langtide on event ngOnInit ? I work on angular 7 I assign value of latitude and longitude on ngoninit but not work ngOnInit() { this.lat = value this.lng= value } so How to assign values of lng and lat on event ngoninit and display...
3 Jan 2020 by ahmed_sa
How to return Loc value from link URL angular 7 ? i need actually to return value of loc related to location meaning i only need to return value 27737 i need to only value of Loc from json object from URL so my question How to write service and calling this service on component...
3 Jan 2020 by ahmed_sa
How to return value of longitude and latitude from json using angular 7? my URL as following : http://192.168.7.xxx:9200/location/_doc/27737 json returned from url above is : ...
11 Jan 2020 by ahmed_sa
How to access value of userPass from array of object using angular 7? I need to access Property userPass from array of object I have variable from type any his name auth auth have array of object I need to access property value from userpass auth is ...
11 Feb 2020 by ahmed_sa
I work on angular 7 when loop to table html and compile i get error 95% emitting CopyPlugin ERROR in src/app/Pages/part-compare/part-compare.component.ts(25,38): error TS2339: Property 'rows' does not exist on type 'HTMLElement'. src/app/Pages/part-compare/part-compare.component.ts(27,26):...
11 Feb 2020 by ahmed_sa
problem How to access attribute from array based on value exist on attribute ? I need to access Fn:'Application' inside array of OtherQualification on html angular 7 ? if it have otherQualification - fn - Application then print exist else ...
22 Feb 2020 by ahmed_sa
problem How to display count of records on tables using angular 7 ? I work on SQL server 2012 and asp.net core 2.2 I make web API on .net core 2.2 return count of records on table meaning function API return only one value as integer my...
24 May 2020 by ahmed_sa
I have field total count I need to prevent total Count from display on component.html I already do it but not working if you can tell me how to do that ? I display data dynamically on header column and body data with angular 7 I try using...
24 May 2020 by ahmed_sa
thank you for reply it solved by following code on component.ts this.headerCols = Object.keys(data[0]).filter(x => x !== 'totalCount');
24 May 2020 by ahmed_sa
thank you for reply it solved by following code on component.ts this.headerCols = Object.keys(data[0]).filter(x => x !== 'totalCount');
5 Jul 2020 by ahmed_sa
I'm beginner on git source control I have web application done by angular 7 exist on git source control AND I need to pull last changes to be same changes and files on local and server same . so I will write E:\PartDetails> git pull origin...