KnockoutJS & custom view components
At first i didn´t knew how to use custom components with KnockoutJS apps, then i found this link:
http://jsfiddle.net/rniemeyer/X82aC/
What you basically do, is to create a custom binding handler to “control” the relationship between the custom component and the value that you want to use to populate it.
Each custom binding has 2 methods that get called automatically: init and update.
More info here: http://www.knockmeout.net/2011/07/another-look-at-custom-bindings-for.html ( point #5 )