AngularJs, Browserify Polymer and Sass boilerplate

Source available on Github : https://github.com/shprink/angularjs-browserify-polymer-boilerplate

Two way data biding

Using Polymer and AngularJs at the same time is a bit problematic. The two way data biding (AngularJs feature) cannot natively work with Polimer web components. Some project are emerging though:

Those projects are not mature enought to use, so I decided to directly use AngularJs’s resources within Polymer elements.

Using AngularJs’s services within Polymer

var userService = angular.injector(['boilerplate']).get('UserService');

Polymer('user-list', {
    ready: function() {
        this.list = userService.getList();
    },
    tapAction: function(e) {
        console.log('tap', e);
    }
});

Using AngularJs’s scope within Polymer

Polymer('boilerplate-login', {
    ready: function() {
        this.angularScope = angular.element(this).scope();
    },
    sendForm: function(){
        this.angularScope.goToHome();
    }
});

How to install “Nike+ Fuelband” app on Android when not available in your country

In june Nike introduced it’s “Nike+ Fuelband” app for Android. This was actually a great news for the Android community that was waiting for this day to come, but unfortunately this app is only made available to certain versions of Android, and in only five countries…

With 30 million users, NikeFuel is rapidly becoming the universal measure of activity. Now, with the launch of the Nike+ FuelBand App for Android we’re delighted to help even more athletes get better […] This is another important step in the continued growth of our powerful ecosystem of digital products and services.

Stefan Olander Nike’s VP of Digital Sport

Available on some Androids

Jelly Bean 4.3 or higher and support Bluetooth LE technology are mandatory. The following devices are therefore already compatible:

  • Samsung Galaxy S3
  • Samsung Galaxy S4
  • Samsung Galaxy S5
  • HTC One
  • Nexus 5
  • Moto X

Available in five countries

IMG_20140831_201257

If you want to download the app from another country you will be disappointed to see the following message: “this item is not available in your country”

A downside of this announcement is that the app is only made available on five countries: US, UK, Canada, Germany and Japan. If you want to download the app from another country you will be disappointed to see the following message: “this item is not available in your country”.

Unfortunately this is not explained when you buy a “Fuelband SE” but no worries alternatives exist.

Install Aptoide

Aptoide is an alternative marketplace for Android applications where you can add different trusted stores. All you need to do is to download the apk and to follow the instructions. Once you have done that it is not over yet.

Add HUSSAMYAR store

HUSSAMYAR store has more than 210 applications and most of all contains the “Nike+ Fuelband” apk.

Install Nike+ Fuelband

Now open the Aptoide market and install the “Nike+ Fuelband” application, the way you would do it on Google Play.

Sources