Skip to main content

Questions tagged [angular.js]

Code written using version 1 of the AngularJS open-source JavaScript framework. Use 'angular-2+' for code using later versions.

26 votes
5 answers
2k views

We've been hard at work creating a browser-based GUI/Client for playing the Cardshifter TCG for the past week or so. Today, I just finished doing a pretty complicated layout for the chat lobby, along ...
Phrancis's user avatar
  • 20.5k
22 votes
1 answer
15k views

Here is a simple reusable AngularJS factory I came up with to initialize Google Maps Asynchronously, which somehow does not seem ...
Dmitri Zaitsev's user avatar
21 votes
1 answer
15k views

This is my first angular code. I've been working with jQuery for a while, so I don't have the same approach. I'm looking for advice and code improvement. The following code has 3 directives: ...
Elfayer's user avatar
  • 313
15 votes
2 answers
14k views

I have a REST web service that uses OAuth 2 for authenticating and authorizing requests. I have an endpoint, that when receiving the correct credentials, responds with an access token that will be ...
Matias Cicero's user avatar
14 votes
2 answers
8k views

I am starting an angular app and I was wondering if I am on the right track with this. I worked on my last angular app when I was just a youngun who didn't understand the important of designing the ...
evwill's user avatar
  • 143
14 votes
2 answers
295 views

I decided that since I was learning AngularJS and Bootstrap, I'd be remiss not to post a FizzBuzz, but FizzBuzz bores me, so I've extended it. My version of FizzBuzz is configurable, and allows you ...
Nick Udell's user avatar
  • 5,247
12 votes
2 answers
2k views

We record software builds from our build machine into a database and for practice purposes I'm building a little web dashboard for it. The API is REST (WebApi) and provides access to query for ...
ChrisWue's user avatar
  • 20.6k
11 votes
1 answer
769 views

I have been learning AngularJS and have written my first app. It's a Hangman AI which learns words and guesses the solution based on the words it knows. Please look over my code and provide some ...
Tom Hanson's user avatar
11 votes
1 answer
5k views

What do you think about this directive? For each input, it traverses the DOM towards the root and if it finds an element with the class ...
maaartinus's user avatar
  • 13.7k
11 votes
1 answer
833 views

I am trying to build a food search app. I am using Angular and Spring. I am currently using the yelp API, but it's done on the Java side. I think what I have achieved is really bad design. It works, ...
OPK's user avatar
  • 285
10 votes
1 answer
252 views

I'm somewhat new to JavaScript and AngularJS, and read in Doug Crockford's book that hoisted function declarations can lead to issues. If you have any pointers on how to structure my file, those would ...
dusk's user avatar
  • 101
10 votes
2 answers
2k views

I have an app that makes calls to the Podio API. The Podio Api uses OAuth2 protocol , after user's authenticate with their podio username and password an access and refresh token is provided for ...
inspired's user avatar
  • 323
10 votes
1 answer
7k views

In AngularJS, I currently have a directive and 2 services which permit me to bind the window resize event, and broadcast it to my application. I would like to know if you could see anything that ...
Niflhel's user avatar
  • 203
9 votes
1 answer
944 views

I have created this little dropdown directive in Angular. The idea is that you create a nav element with a ul inside. The directive prepends a chevron and toggles ...
superluminary's user avatar
9 votes
1 answer
659 views

I am a newbie coder and I'm trying to learn good coding habits. I'm making a Simon Says game challenge from Free Code Camp in Angular JS. Codepen I have an array that keeps random integers between ...
Sharon Choe's user avatar

15 30 50 per page
1
2 3 4 5
24