Profile

Cover photo
Serkan Güneş
70 followers|43,068 views
AboutPostsPhotosYouTube+1's

Stream

Serkan Güneş

Discussion  - 
 
Hi Guys,

I got a weird problem with angular animations. I am using ngAnimate module for some part of my application. My problem is with ng-repeat or ng-class if the element already has a css transition if you remove it from model array it never gets removed from DOM.

I have just created an example using angular TODO exercise which should be hopefully familiar to people.

I have added a shake button. Before clicking on the shake button everything works as it is. After clicking the shake button and click archive button, archived items never get removed from DOM. 

http://jsfiddle.net/qLsSV/1/

Any help would be appreciated.

Kind regards
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
1
Add a comment...

Serkan Güneş

Discussion  - 
 
Can anyone tell me how to create model class templates that work well with angular?

I am currently defining the class template as a service and adding a $new method on it which returns an object which has all the desired fields and functions. Previously I used to define my class templates using  ".prototype" field on an JS object and created new instances using new operator. 

Any response is much appreciated.
1
Josh David Miller's profile photoSerkan Güneş's profile photo
5 comments
 
That's ok I meant just using the prototype based class without embedding inside a service. That would be harder to use in another class. 
Add a comment...

Serkan Güneş

Discussion  - 
 
Can anyone tell me who to create model class templates that work well with angular?

I am currently defining the class template as a service and adding a $new method on it which returns an object which has all the desired fields and functions. Previously I used to define my class templates using  ".prototype" field on an JS object and created new instances using new operator. 

Any response in much appreciated.
1
Add a comment...

Serkan Güneş

Shared publicly  - 
1
Add a comment...
Have him in circles
70 people
Hannes Stockner's profile photo
Yunus Durmuş's profile photo
Rytis Sileika's profile photo
Patrick Holahan's profile photo
Juan Amiguet's profile photo
Celal Han's profile photo
Baris Unlu's profile photo
Simon Lee's profile photo
Antonello Berlingieri's profile photo

Serkan Güneş

Discussion  - 
 
Hi Guys,

I got a weird problem with angular animations. I am using ngAnimate module for some part of my application. My problem is with ng-repeat or ng-class if the element already has a css transition if you remove it from model array it never gets removed from DOM.

I have just created an example using angular TODO exercise which should be hopefully familiar to people.

I have added a shake button. Before clicking on the shake button everything works as it is. After clicking the shake button archived item never gets removed from DOM. 

http://jsfiddle.net/qLsSV/1/

Any help would be appreciated.

Kind regards
Test your JavaScript, CSS, HTML or CoffeeScript online with JSFiddle code editor.
1
Roie Schwaber-Cohen's profile photoSerkan Güneş's profile photoAlireza Ahmadi's profile photo
5 comments
 
nganimate.org may help you. It provide some very useful animations. You may want to test their code too. 
Add a comment...

Serkan Güneş

Discussion  - 
 
Hi All,

Trying to write a dependency injection framework without using mirrors. 
Is there a way to instantiate a type without using mirrors. As far as I know dart2js has limited support for mirrors and this library is intended to be used at client side.
Any answer would be appreciated.

Kind regards,
1
Sergey Akopkokhyants's profile photoSerkan Güneş's profile photo
2 comments
 
+Sergey Akopkokhyants Thank you very much I'll check it out.
Add a comment...

Serkan Güneş

Shared publicly  - 
 
Yesterday I read a months worth of Google+ updates in 5 minutes. Wave goodbye to Google+ buzz.
1
Stretch's profile photo
Add a comment...

Serkan Güneş

Shared publicly  - 
1
Add a comment...
People
Have him in circles
70 people
Hannes Stockner's profile photo
Yunus Durmuş's profile photo
Rytis Sileika's profile photo
Patrick Holahan's profile photo
Juan Amiguet's profile photo
Celal Han's profile photo
Baris Unlu's profile photo
Simon Lee's profile photo
Antonello Berlingieri's profile photo
Basic Information
Gender
Male
Work
Occupation
Senior Java Developer
Links
Contributor to
Serkan Güneş's +1's are the things they like, agree with, or want to recommend.
End Piracy, Not Liberty – Google
www.google.com

Millions of Americans oppose SOPA and PIPA because these bills would censor the Internet and slow economic growth in the U.S.. Two bills bef

iPhone app contains secret to £2,000 of buried gold - Pocket-lint
www.pocket-lint.com

Aping the Masquerade book and related treasure hunt of the 1980s, app developer Candid Innovations is claiming to have buried £2,000 worth o

Android Powered iPhone 5 Manufacturer Warns They’ll Sue Apple If Next iP...
phandroid.com

It was only last Tuesday we showed you guys the abomination that was the GooPhone. Getting the jump on Apple thanks to leaked parts and piec