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
7 votes
2 answers
197 views

To illustrate some algorithmic problems I found while writing this code review, I needed to include a live demonstration, which I implemented using a Stack Snippet with Angular.js. The demonstration ...
200_success's user avatar
6 votes
1 answer
232 views

I've got a goal and that goal is to become an Angular expert. So what better way of learning than to create an online store for pies, right? I've just finished the registration part and would like ...
Chrillewoodz's user avatar
6 votes
1 answer
914 views

I have tried to simulate a cart (only partially completed). I just wanted to see how the code upto this point can be enhanced. I am trying to learn about the usage of ...
dreamer's user avatar
  • 161
6 votes
1 answer
2k views

Things that I'm not sure about: Whether this works in all use cases - alongside routing and within templates etc Am I polluting the scope with all these variables? This seems to be the easiest way to ...
Patrick's user avatar
  • 161
5 votes
1 answer
817 views

I have an app that uses HTML5 video and our customer still needs to support IE8 - Gross. Anyway, I came up with this directive in AngularJS for embedding a SWF object for when I need to fallback to ...
Ronnie's user avatar
  • 151
4 votes
2 answers
438 views

I am working on a blog application with Codeigniter 3.1.8 and AngularJS v1.7.8. The Dashboard of the application is "pure" Codeigniter, with Models, Controllers, and views, while the fronted is made ...
Razvan Zamfir's user avatar
4 votes
2 answers
7k views

I am trying to implement an AngularJS directive that would count the number of characters entered into a textarea and display it to the user. Note: it will actually become much more complex later on ...
balteo's user avatar
  • 161
4 votes
1 answer
2k views

This is a simple implementation of an ng2 filter pipe, which can currently take 2 optional facets: <string>status and ...
msanford's user avatar
  • 391
3 votes
2 answers
616 views

This code loops through an array called $rootScope.watchlist (uses AngularJS). It gets the current iteration of the loop to access that x iteration through ...
user148450's user avatar
2 votes
1 answer
88 views

I recently created my first directive based on jQuery plugin and I asked for review here: Angular console like window - first directive I've edited my directive so now instead of ...
Misiu's user avatar
  • 349
2 votes
0 answers
896 views

I have started my clicker game using angular.js about week ago. I have finished current functionality first night, but still have feeling of misunderstanding some basic approaches. This is sources ...
outoftime's user avatar
  • 1,769
2 votes
1 answer
988 views

I'm rebuilding a basic webpage using AngularJS, and want to implement changing languages when clicking an icon. So far I've made a service called 'langService', ...
Miha Šušteršič's user avatar
1 vote
1 answer
148 views

I've asked question on SO how to rewrite jQuery code to Angular. Because I got no answers I've tried to create something by my own. This is my version of code: ...
Misiu's user avatar
  • 349
0 votes
1 answer
2k views

This project has evolved a lot since I started learning Angular. I'm pretty happy with it now, and I'm wondering if there's anything I can improve upon, or have forgotten at this point... HTML ...
Patrick's user avatar
  • 161