Anh Trinh JavaScript Developer

FYI: UpNext music player has been removed from Chrome Web Store

P/S: you can still download the extension & install it yourself (version 1.2.14)



Here is the email from Google:

Dear Developer,

Your Google Chrome item, "UpNext Music Player," with ID: dgkfcdlmdppfhbfmooinbcejdaplobpk did not comply with our policies and was removed from the Google Chrome Web Store.

Your item did not comply with the following section of our policy:

We don't allow products or services that facilitate unauthorized access to content on websites, such as circumventing paywalls or login restrictions. We also don't allow products or services that encourage, facilitate, or enable the unauthorized access, download, or streaming of copyrighted content or media.

If you'd like to re-submit your item, please make the appropriate changes to the item so that it complies with our policies, then re-publish it in your developer dashboard. Please reply to this email for issues regarding this item removal.

*Please keep in mind that your re-submitted item will not be immediately published live in the store. All re-submitted items undergo a strict compliance review and will be re-published if the item passes review.

*Important Note
Repeated or egregious violations in the store may result in your developer account being banned from the store. This may also result in the suspension of related Google services associated with your Google account. All re-submitted items will continue to be subject to Chrome Web Store policies and terms of service.

Thank you for your cooperation,
Google Chrome Web Store team

EmberJS Links

RFC for reference unification: you’re now able get the relationship’s id without triggering a request. Available since Ember-Data 2.4

ArrayProxy is dead

My Front-end Universe

#Architect & Pattern

###”React: Mixins Considered Harmful”

###“Container Component” parttern from React

###Presentational and Container Components

###”Smart & Dump” Component


@rwjblue gist, many interesting stuffs

My list of some awesome articles & stuffs:


Refactoring to Component

Smart Vs Dump Dilemma:

#React Best Tutorial for Redux

React.js Conf 2015 - Making your app fast with high-performance components

Free Redux @egghead


One directive, multiple controllers & controllerAs

You can pass multiple controller in to the require property while declaring a directive

app.directive('myDirective', function () {
    restrict: "A",
    require:['^parentDirective', '^ngModel'],
    link: function ($scope, $element, $attrs, controllersArr) {

      // parentDirective controller

      // ngModel controller

Want to use controllerAs syntax for your child directive, but still want to access parent directive’s controller?

app.directive('myDirective', function () {
    restrict: "A",
    require:['^parentDirective', 'myDirective'],
    controller: 'myDirectiveController',
    controllerAs: 'childVm',
    link: function ($scope, $element, $attrs, ctrls) {
		var parentCtrl = ctrls[0];

        var childVm = ctrls[1];

        // and do stuffs

Good stuff: UI-Router cheat sheet

If you didn’t find Ui-Router documentation that useful, it might be a good idea to look at this cheat sheet made by Very neat!