Kattixie / portfolio

A minimal AngularJS portfolio for project-oriented folks.
1 stars 0 forks source link

Gallery list category parameter in URI doesn't work in compiled version of project #22

Closed Kattixie closed 8 years ago

Kattixie commented 8 years ago

Confirmed it still works in app, but not dist (both local). This will be a fun one...

Kattixie commented 8 years ago

OK, this wasn't as bad as I expected. This was happening because the parent controller (myCategorizedList) wasn't done initializing when a child controller (myCategory) expected it to have already read the URI parameters. The problem probably didn't manifest until it was compiled because the delay was just enough that it became a problem. I added a promise for the child controller to use and it seems to be fixed now.