This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Animations | |
========== | |
Wow, so this was the first time trying to add them. I can see it's a game of nuance. Animations on the view, is probably not the best. If I have time I'll try to do something on the ngRepeat. | |
I opted for making animations a focus prior to consolidating my $http calls, as I'd like to get a semi-prototype and make it look like it's actually a one page app. But wonder if I should have done more with ngHide, ngShow. But no time! So trying to do the best. What I think is awful - the disappearing content when switching views. So trying to obscure that as much as possible with the transition. To no avail. Like lipstick on a pig. But I'm hoping if I make the pig disappear fast enough, you won't have time to wretch into your wastebasket. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Edit Button | |
=========== | |
Wasted some time trying to figure out how to directly link to the edit view of the page. But given Github redirects/adds current users name when navigating to the gist, it became futile. I find it annoying that when you click edit, you can't actually edit. But I guess that's for another day, and would ideally be done via the API as well. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Use Real Data | |
============= | |
So currently I have two $http calls, and I'm thinking I should consolidate that into a Resource, and perhaps a factory? That uses JSONP, and then I can just root around in my object to provide both the list as well as the content for the post detail. | |
But the first step was to get the calls figured out, and get the items I needed. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Blog Task Introduction | |
====================== | |
Create a blog using Github gists. Presenting | |
a list of all articles, which, on click will display the main | |
article content. Preferably no separate page, but rather on the | |
same page. | |
In this attempt I'm hoping to: |