[SOLVED] Call service function in view

I create a “Common” service (factory) in AngularJS like this:

	.factory('Common', function($state) {

In my controller, I bind my service with my view like this:

	.controller('myCtrl', function($scope, Common) {
		$scope.C = Common;

But in my view, I can’t access to the methods of my service … why?
Like this:

<element ng-click="C.foo()" />

I used this trick in several AngularJS projects so I know it should work.

Do you have a sample in codepen where it is not working?