Hi Kapil,
Hope below URL helps you for Angular 1x.
https://github.com/johnpapa/angular-styleguide
On Wednesday, December 23, 2015 at 11:45:45 AM UTC+5:30, Kapil Khanna wrote:
>
> Hi,
>
> My team is learning AngularJS v.1 on the fly in a live project and needs
> professional help with coding iss
thank you
On Monday, 21 December 2015 22:17:04 UTC+5:30, Adam Hitchens wrote:
>
> Hello,
>
> I had all my dependency injection working in Alpha 45, but now when I try
> and do the same thing in beta 0, I am getting "*EXCEPTION: Cannot resolve
> all parameters for AppComponent(?, ?). Make sure t
Anyone know how to use the controllerAs in the factory model?
Can you please provide me with a few examples?
thks
--
You received this message because you are subscribed to the Google Groups
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
Thanks a lot Sander.
On Wednesday, 23 December 2015 19:52:26 UTC+5:30, Kumar Ranjan wrote:
>
> Wanted to convert following service to Angular 2 Service. I am using
> google api here. The main problem I am getting is to returning the Promise
> as its not similar as Angular 1.x.
>
> getLoginStatus
Thanks a lot
On Wednesday, 23 December 2015 19:52:26 UTC+5:30, Kumar Ranjan wrote:
>
> Wanted to convert following service to Angular 2 Service. I am using
> google api here. The main problem I am getting is to returning the Promise
> as its not similar as Angular 1.x.
>
> getLoginStatus: funct
Hi,
Angular 2 is said to support templates and stylesheets that are referenced
from a component with a *relative* path. For this, we have to set *moduleId:
module.id* within the component-decorator. This demands compiling for
commonjs.
Now, I', wondering, how to bootstrap a Angular 2 app that
What is the best way to set up a project using angular 2 and rails 5? I was
using it with angular 1.5 and typescript before, and had the asset pipeline
setup with the typescript rails gem. It all seemed to work fine.
Now I'm not quite sure how this systemjs works, or how to use angular 2
witho
Hi Daniel,
thanks for your answer. That is the solution, I used, but in this case, I'm
only able to pass some data to properties of the component. I'm wondering,
if there is a way, to set up a "real" property-binding. Currently, I see
two workaround for doing this:
1. Use Life-Cycle-Hooks to p
Hi,
thank you both for you opinions. Thanks to Sanders, I see now, that the
global event isn't absolutly neccessary, but I also feel like Martin.
We are talking about cross-cutting-concerns here. Devs see for years, that
it isn't the best idea, to put such concerns into every piece of code.
Th
I started doing some research into using AngularJS2 and one of the
questions I had that I can't find a solution for. I have a requirement that
depending on the data I receive from my model, I wish to load different
templates for a given component. This is mainly related to maintaining
differe
Hi Kumar,
Something like this would do:
getLoginStatus: function () {
return new Promise((resolve,reject) => gapi.auth.authorize({ client_id:
dataStore.getData('CLIENT_ID'), scope: dataStore.getData('SCOPES'),
immediate: true }, resolve));
}
Regards
Sander
--
You received this message be
Wanted to convert following service to Angular 2 Service. I am using google
api here. The main problem I am getting is to returning the Promise as its
not similar as Angular 1.x.
getLoginStatus: function () {
var deferred = $q.defer();
gapi.auth.authorize({client_id: dataStore.getDat
Angular is built with javascript, so you are pretty much free to use any
javascript functions. Angular does have wrappers for some functions
($interval and $timeout come to mind)
On Wednesday, December 23, 2015 at 2:58:07 AM UTC-5, ShatterStar wrote:
>
> Thanks Sander but it doesn't answer my qu
Have you looked into the date filter? It sounds like it may do what you
need.
https://docs.angularjs.org/api/ng/filter/date
On Wednesday, December 23, 2015 at 3:00:40 AM UTC-5, ShatterStar wrote:
>
> Hi Guys,
>
> I am trying to get the date that I have as a hidden field to be the
> current da
Hello,
I am a newbie to angularJS. Please help me sort out an issue I am facing
from last 3 days.
I am using AngualrJS and Highcharts in my application. Here is the scenario:
I have two divs in HTML(JSP). div1 displays a table which is a plain HTML.
div2 displays data through angualJS template
In my opinion, you are right.
- -
-- Csanyi Andras (Sayusi Ando) -- http://sayusi.hu --
http://facebook.com/andras.csanyi
-- ""Trust in God and keep your gunpowder dry!" - Cromwell
On 23 December 2015 at 13:11, Matthew Paul
wrote:
> I don't like the naming convention used for this interface
I don't like the naming convention used for this interface in angular2 (not
sure if this is generally the convention):
"export class MyComponent *implements OnInit*"
I think if an interface has been defined for the purpose of a class to
implement it should be prefixed with an 'I' like you would
In the doc you linked to
> Some modules are libraries of other modules.
> Angular itself ships as a collection of library modules called "barrels".
Each Angular library is actually a public facade over several logically
related private modules.
An angular module is pretty much the same as a Dart
Hi Guys,
I am trying to get the date that I have as a hidden field to be the current
date which would include the year, month and day eg. 2015-12-25, this is
how I am doing it thus far but is there a better / easier way? Here's the
code
var newDate = new Date();
dateYear = newDate.getFullYea
19 matches
Mail list logo