Код: Выделить всё
unlikeКод для HTML:
Код: Выделить всё
[url=#]Like[/url]
Код: Выделить всё
myApp.controller("newsFeedCtrl", function ($scope, $http) {
console.log("inside newsFeedCtrl");
$scope.post() = function() {
console.log("posting");
}
$scope.likePost = function(postId) {
console.log("liking post");
}
});
Мы здесь ничего не упускаем?
Подробнее здесь: https://stackoverflow.com/questions/251 ... ing-a-post
Мобильная версия