Skip to content
This repository has been archived by the owner on Mar 7, 2022. It is now read-only.

Commit

Permalink
DO NEVER INJECT anywhere or it breaks hashbang links
Browse files Browse the repository at this point in the history
  • Loading branch information
45kb committed Jun 26, 2016
1 parent 9917da3 commit ae04a58
Show file tree
Hide file tree
Showing 6 changed files with 155 additions and 167 deletions.
9 changes: 5 additions & 4 deletions assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,12 @@
}])
.controller('TestController', ['$scope', '$timeout', 'Socialshare', function testController($scope, $timeout, Socialshare) {
var that = this;
/*Call service to trigger immediately the sharing method
Socialshare.share({
'provider': 'facebook',
//Call service to trigger immediately the sharing method
/*Socialshare.share({
'provider': 'twitter',
'attrs': {
'socialshareUrl': 'http://google.com'
'socialshareUrl': 'http://720kb.net',
'socialshareHashtags': '720kb,angular, socialshare'
}
});*/
$timeout(function scopeValueTimeout() {
Expand Down
Loading

0 comments on commit ae04a58

Please sign in to comment.